{"name":"rework-font-variant","version":"1.0.1","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","gitHead":"aec6ce716ffd91a61003d6fe69f0b8e2f9b61901","bugs":{"url":"https://github.com/ianstormtaylor/rework-font-variant/issues"},"homepage":"https://github.com/ianstormtaylor/rework-font-variant","_id":"rework-font-variant@1.0.1","scripts":{},"_shasum":"6ba4dca265532cbb4d5a52cb8f81775b47c55bcd","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"moox","email":"m@moox.io"},"maintainers":[{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},{"name":"moox","email":"m@moox.io"}],"dist":{"shasum":"6ba4dca265532cbb4d5a52cb8f81775b47c55bcd","tarball":"http://registry-npm.ywwl.com/rework-font-variant/download/rework-font-variant-1.0.1.tgz","integrity":"sha512-pQzrq7HdBebZ72ngEvLFSmXJPgvgcz105oXnqtZOCKHfZtnCJMMBJzCdJWcdYg/EwUwPv9SBaceROg04vTYIbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIVkXVoW579GPOcaIFWF6aURnDAjLcDZKzBI5uYWR0cAiAs5DDYxmsCkZJU4d9gGBQpSKW+YEXrWjNK+n9+lbp4Rg=="}],"size":2560,"noattachment":false,"key":"/rework-font-variant/-/rework-font-variant-1.0.1.tgz"},"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":1403847325833,"_cnpm_publish_time":1403847325833,"dist-tags":{"latest":"1.0.1"}}