Skip to content
/ fvd Public

Font Variation Description for JavaScript

License

Notifications You must be signed in to change notification settings

percolate/fvd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fvd

Build Status

Font Variation Description for JavaScript

See Font Variation Description for more details.

Installation

Install with npm:

$ npm install fvd

Usage

var fvd = require('fvd')

fvd.compact('font-weight:bold;font-style:italic;')
// 'i7'

fvd.expand('i7')
// 'font-style:italic;font-weight:700;'

fvd.parse('i7')
// { 'font-style': 'italic', 'font-weight': 700 }

Tests

Install the dependencies and run:

$ npm test

License

MIT License, see LICENSE for details.

About

Font Variation Description for JavaScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •