{"name":"rework-font-variant","version":"1.0.0","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-font-variant.git"},"license":"MIT","description":"Implements the font-variant-* properties for browsers that don't yet support them.","keywords":["font-variant","font","variant","rework","type","typography","open","type","feature","font-feature-settings"],"devDependencies":{"should":"*","mocha":"*","rework":"*"},"main":"lib/index.js","bugs":{"url":"https://github.com/ianstormtaylor/rework-font-variant/issues"},"homepage":"https://github.com/ianstormtaylor/rework-font-variant","_id":"rework-font-variant@1.0.0","dist":{"shasum":"2c48c962d075fcd10f306daea7d18da001aa262f","tarball":"http://registry-npm.ywwl.com/rework-font-variant/download/rework-font-variant-1.0.0.tgz","integrity":"sha512-i7Carw8UuZpzZic/fqW4zcYJX/Uki5mNQhHketgrMIwXXn2xZlAHAoaFPlQECUrMModJjPN7RInlgLCUVxj2kA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGatacLwG1vmTbgfYBQPkG/Ovha5Kg9j/JyZB9j8UCsJAiA2e8/bG4bHWTKVEzhNqoD3dD0h45kFMWHSgrHWFu66/Q=="}],"size":2431,"noattachment":false,"key":"/rework-font-variant/-/rework-font-variant-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"}],"directories":{},"readme":"# rework-font-variant\n\n  Adds support for the nice `font-variant` CSS properties that are shorthand for the really awkward `font-feature-settings` values. \n\n  This is part of the [CSS spec](http://www.w3.org/TR/css3-fonts/#font-rend-props), but no browser supports the shorthands yet.\n\n## Installation\n\n    $ npm install rework-font-variant\n\n## Example\n\n```js\nvar variant = require('rework-font-variant');\n\nrework(css)\n  .use(variant)\n  .toString();\n```\n\n## API\n\n  In your CSS, use the font-variant properties like [the spec](http://www.w3.org/TR/css3-fonts/#font-rend-props) tells you to:\n\n```css\nh2 {\n  font-variant-caps: small-caps;\n}\n\ntable {\n  font-variant-numeric: lining-nums;\n}\n```\n\n  Or use the `font-variant` shorthand:\n\n```css\ntable {\n  font-variant: small-caps lining-nums;\n}\n```\n\n## License\n\n  MIT\n","publish_time":1387780008578,"_cnpm_publish_time":1387780008578,"dist-tags":{"latest":"1.0.1"}}