Is it possible to make a pixelated bitmap font in node-canvas?

I’ve been recently working on a Node.js project that uses node-canvas module.

Although I have a problem. I want to completely disable the font smoothing (like you can do in Paint.net, Photoshop, Adobe Animate, etc), so that the font is pixelated and crisp.

Here’s the picture of the text with the same font and size. The top one is rendered by node-canvas, while the bottom one is how I want it to look like (i.e. unsmoothed, crispy).

hi there

Does anyone know if it’s possible or not?