Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Font Variation Description for JavaScript
JavaScript
branch: master
Failed to load latest commit information.
lib
test Updated dependencies to latest
.gitignore First commit.
LICENSE.md
README.md Updated build status badge URL.
package.json

README.md

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.

Something went wrong with that request. Please try again.