Socket
Book a DemoInstallSign in
Socket

node-monospace-fonts

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-monospace-fonts

Get a list of installed monospace fonts

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 27 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts