Skip to content

hanamura/font-family

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

font-family Build Status

CSS font-family parser/stringifier.

Installation

npm install font-family

Example

var parse = require('font-family').parse;

parse('"Helvetica Neue", Helvetica, sans-serif');
// => [ 'Helvetica Neue', 'Helvetica', 'sans-serif' ]
var stringify = require('font-family').stringify;

stringify(['Helvetica Neue', 'Helvetica', 'sans-serif']);
// => '"Helvetica Neue", Helvetica, sans-serif'

License

MIT

About

CSS font-family parser/stringifier.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published