Installations
npm install system-font-stacks
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>= 8.4.0
Node Version
10.0.0
NPM Version
5.6.0
Score
70.4
Supply Chain
72.4
Quality
75.1
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
xsynaptic
Download Statistics
Total Downloads
1,001
Last Day
1
Last Week
7
Last Month
23
Last Year
144
GitHub Statistics
1 Stars
3 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
6.32 kB
Minified
1.67 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.2
Package Id
system-font-stacks@0.0.2
Unpacked Size
16.88 kB
Size
4.62 kB
File Count
4
NPM Version
5.6.0
Node Version
10.0.0
Total Downloads
Cumulative downloads
Total Downloads
1,001
Last day
0%
1
Compared to previous day
Last week
0%
7
Compared to previous week
Last month
228.6%
23
Compared to previous month
Last year
12.5%
144
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
SYSTEM FONT STACKS
This JS/JSON micro-library provides an opinionated selection of pre-defined web-safe and system font stacks for consumption by Node ecosystem build tools and applications. Just npm install system-font-stacks --save-dev
and import stacks from 'system-font-stacks'
and you're ready to go, nothing more to it. Each stack is an array of font names, use them however you wish.
The font stacks themselves are the product of years of idle research, some hands-on experience, and a lot of guesswork. I don't pretend to be an expert in these matters but then again, who is? Most of the articles written about web-safe font stacks are years old and usage data is lousy and poorly-sourced for the most part. I have at least gone to the trouble of sprinkling most font stacks with a few free and open source alternatives so as to not ignore Linux users the way some designers do.
Sane, informed, and reasonably well-documented pull requests are welcome!
Links
- Font Family Reunion: compatibility tables for default system fonts.
- The New System Font Stack: a little more about where the
system-sans
stack came from in 2016.
Credits
Many of these font stacks are modifications of font stacks I've collected over the years. Many of my sources are no longer online. Among those that might still be around: this post by Michael Tuck, this post on A Way Back, this post on Mighty Meta, some tips about Futura and Century Gothic on Intavent, a cursory inspection of Dan's Tools, and the Wayback Machine.
License
MIT/GPLv3.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More