node-monospace-fonts
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

node-monospace-fonts

Get a list of monospace fonts installed on your system. Prebuilt N-API module created for shifty automatic font detection. Based on code from font-manager.

Table of contents

Installation

yarn

yarn add node-monospace-fonts

npm

npm i node-monospace-fonts --save

Usage

import { getMonospaceFonts } from "node-monospace-fonts";

// Logs monospace fonts installed on your system
console.log(getMonospaceFonts());

// [
//   "Andale Mono",
//   "Courier",
//   "Courier New",
//   "Menlo",
//   "Monaco",
//   "PT Mono"
// ]

Contributing

TODO

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i node-monospace-fonts

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

663 kB

Total Files

21

Last publish

Collaborators

  • bmealhouse