A Node.js utility to install fonts.
- Windows
- Linux
- OSX
const installFonts = require("install-fonts");
installFonts({
scope: "system",
dirs: "/path/to/fonts",
});system: install fonts for all users on the systemuser: install fonts for current user
Defaults to user.
Install specified font files.
Install all font files under the specified directories.
Install all font files under the specified directories and their sub directories.