@anzerr/bdf.util
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

Intro

GitHub Actions status | publish

Util to parse BDF font format files ready to be used to draw.

Example of a font being drawn using its bitmap an example can be found in test

Install

npm install --save git+https://git@github.com/anzerr/bdf.util.git

Example

const {parse, bitmap} = require('bdf.util');

parse('./test/cherry-10-b.bdf').then((res) => {
	console.log(res);
});

bitmap('./test/cherry-10-b.bdf').then((res) => {
	console.log(res);
});

Package Sidebar

Install

npm i @anzerr/bdf.util

Weekly Downloads

7

Version

1.0.15

License

MIT

Unpacked Size

5.45 kB

Total Files

6

Last publish

Collaborators

  • anzerr