Trên GitHub, oldj/node-font-list đã đạt 151 sao, nhóm Backend, ngôn ngữ JavaScript. Get the list of fonts installed in the system.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Returns detailed font information including both family names and PostScript names.
Parameters:
options (optional): Same as getFonts()
disableQuoting (boolean): Default: false
Returns:Promise<FontInfo[]>
FontInfo interface:
interface FontInfo {
name: string // Original family name
familyName: string // Standardized family name
postScriptName: string // PostScript name
weight: string // Font weight (ultralight, light, regular, medium, semibold, bold, heavy)
style: string // Font style (normal, italic, oblique)
width: string // Font width (condensed, normal, expanded)
monospace: boolean // Whether the font is monospaced
}
try {
const fonts = await getFonts()
console.log(`Found ${fonts.length} fonts`)
} catch (error) {
console.error('Failed to get fonts:', error.message)
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Darwin helper binary
The macOS implementation includes a native Objective-C helper binary at
libs/darwin/fontlist. The binary is kept in git so macOS users can clone the
repository and run it without a local build step. It supports two modes: no
arguments prints the simple family-name list, while --detail (or -d) prints
a JSON array with weight/style/width/monospace metadata.
If you change libs/darwin/fontlist.m, rebuild the helper binary on macOS
before submitting the change:
npm run build:darwin
This command requires macOS and Xcode Command Line Tools. It produces a
universal binary with x86_64 and arm64 slices and a default macOS
deployment target of 11.0. Set MACOSX_DEPLOYMENT_TARGET before running the
command to override the target for a release build. Windows and Linux
contributors do not need to run it for JavaScript, type definition,
documentation, or platform-specific changes outside libs/darwin.
Pull requests should include the Darwin binary diff only when the
Objective-C source file changed.
Publishing
Releases should be published from macOS. npm publish runs prepublishOnly,
which rebuilds the Darwin helper binary before the package is packed and
published.
To inspect the package contents before publishing, run:
oldj/node-font-list thuộc nhóm Backend trên TopGit, cùng 3 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về oldj/node-font-list ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/oldj/node-font-list là nguồn chính thức.
oldj/node-font-list có bao nhiêu sao?
oldj/node-font-list có 151 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/oldj/node-font-list. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
oldj/node-font-list có những chủ đề gì?
GitHub topics của oldj/node-font-list: "electron", "font", "nodejs". TopGit xếp repo vào nhóm Backend.
oldj/node-font-list còn đang phát triển không?
Commit gần nhất trên oldj/node-font-list là 3 tháng trước (theo timestamp GitHub). Repo có 24 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
oldj/node-font-list viết bằng ngôn ngữ gì?
oldj/node-font-list chủ yếu viết bằng JavaScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Vì sao oldj/node-font-list được xếp vào nhóm Backend?
TopGit xếp oldj/node-font-list vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "electron", "font", "nodejs"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc node-font-list có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về node-font-list.