# install-fonts **Repository Path**: mjpclab/install-fonts ## Basic Information - **Project Name**: install-fonts - **Description**: 一个用来安装字体的Node.js小工具。 A Node.js utility to install fonts. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-05-27 - **Last Updated**: 2025-05-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # install-fonts A Node.js utility to install fonts. ## Supported platform - Windows - Linux - OSX ## Usage ```javascript const installFonts = require("install-fonts"); installFonts({ scope: "system", dirs: "/path/to/fonts", }); ``` ## Options ### `scope` - `system`: install fonts for all users on the system - `user`: install fonts for current user Defaults to `user`. ### `files`: string | string[] Install specified font files. ### `dirs`: string | string[] Install all font files under the specified directories. ### `recurseDirs`: string | string[] Install all font files under the specified directories and their sub directories.