css-font-face-src
A CSS @font-face src property value parser
Last updated 9 years ago by cburgmer .
BSD-2-Clause · Repository · Bugs · Original npm
$ cnpm install css-font-face-src 
SYNC missed versions from official npm registry.

css-font-face-src

NPM version

A CSS @font-face src property value parser.

Example

var parser = require('css-font-face-src');

parser.parse('local("The Font"), url("font.otf") format("opentype"), url("font.woff"), local("Another Font")');

will return

[ { local: 'The Font' },
  { url: 'font.otf', format: 'opentype' },
  { url: 'font.woff' },
  { local: 'Another Font' } ]

Build Status

Author

Christoph Burgmer. Licensed under BSD-2-Clause. Reach out on Twitter.

Current Tags

  • 1.0.0                                ...           latest (9 years ago)

1 Versions

  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (6)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org