font-family-papandreou

CSS font-family parser/stringifier

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
font-family-papandreou
0.2.0-patch22 years ago4 years agoMinified + gzip package size for font-family-papandreou in KB

Readme

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