1.0.0 • Published 8 months ago
is-macos-system-font v1.0.0
is-macos-system-font
Check if font comes installed with macOS.
Install
npm install is-macos-system-font
Usage
import isMacosSystemFont from 'is-macos-system-font';
isMacosSystemFont('Avenir');
//=> true
isMacosSystemFont('Inter');
//=> false
API
isMacosSystemFont(name)
name
Type: string
Name of the font.
1.0.0
8 months ago