You've already forked dynamic-badges-action
This adds the posibility of saving an SVG badge generated by the same shields.io dirictly to the gist. Instead of prepering a JSON file to be sent to their service, we use their library directly, which outputs an SVG file that we can save to the user’s gist. Filenames ending in `.svg` will use this library automatically. Additionally there is a major refactoring where the older `node:http` library has been swapped out for `fetch`. Also swap from node 16 to node 20 fixes #24
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
# char-width-table-consumer
|
|
|
|
[][npm]
|
|
[][npm]
|
|
[][build]
|
|
[][prettier]
|
|
[][lerna]
|
|
|
|
[npm]: https://npmjs.com/char-width-table-consumer
|
|
[build]: https://circleci.com/gh/metabolize/anafanafo/tree/master
|
|
[prettier]: https://prettier.io/
|
|
[lerna]: https://lernajs.io/
|
|
|
|
Measure text using a character width table.
|
|
|
|
[puppeteer]: https://pptr.dev/
|
|
|
|
## Features
|
|
|
|
This library allows efficient text measuring using a character width table.
|
|
Create the tables using companion package [char-width-table-builder][].
|
|
|
|
This performs a simple lookup, without considering kerning.
|
|
|
|
Built with [Shields][] in mind.
|
|
|
|
[char-width-table-builder]: https://www.npmjs.com/package/char-width-table-builder
|
|
[shields]: https://github.com/badges/shields/
|
|
|
|
## License
|
|
|
|
This project is licensed under the MIT license.
|