system-font-paths
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

system-font-paths

npm ci license

A C++ module for Node.js that lists all locally installed system font files.

About

This package exports a single async function that returns an array containing the file paths of all locally installed fonts. It is a slimmed down version of fontmanager-redux.

Platforms

Installation

Install with npm:

npm install system-font-paths

Or with yarn:

yarn add system-font-paths

Prebuilt binaries are provided via node-pre-gyp for the following platforms:

  • macOS x64
  • Windows x64 and x86
  • Linux x64 (Ubuntu)

API

This package exports a single asynchronous function that promises an array of font file path strings:

import systemFontPaths from 'system-font-paths';

systemFontPaths.then((fontPaths) => { ... });

Acknowledgements

This project is based heavily on the fontmanager-redux and font-manager packages:

License

MIT

Dependents (0)

Package Sidebar

Install

npm i system-font-paths

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

19 kB

Total Files

11

Last publish

Collaborators

  • lcooper