{"maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"}],"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugin"],"dist-tags":{"latest":"2.0.0"},"author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"description":"Normalize font family declarations with PostCSS.","readme":"# [postcss][postcss]-font-family [![Build Status](https://travis-ci.org/ben-eb/postcss-font-family.svg?branch=master)][ci] [![NPM version](https://badge.fury.io/js/postcss-font-family.svg)][npm] [![Dependency Status](https://gemnasium.com/ben-eb/postcss-font-family.svg)][deps]\n\n> Normalize font family declarations with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-font-family) do:\n\n```\nnpm install postcss-font-family --save\n```\n\n## Example\n\nThis module will try to minimise the `font-family` and `font` shorthand\nproperties; it can unquote font families where necessary, detect & remove\nduplicates, and cut short a declaration after it finds a keyword. For more\nexamples, see the [tests](test.js).\n\n### Input\n\n```css\nh1 {\n    font-family: \"Helvetica Neue\", Arial, sans-serif, Helvetica;\n}\n```\n\n### Output\n\n```css\nh1 {\n    font-family: Helvetica Neue,Arial,sans-serif;\n}\n```\n\n## API\n\n### fontFamily([options])\n\n#### options\n\n##### removeAfterKeyword\n\nType: `boolean`\nDefault: `true`\n\nPass `false` to disable the module from removing font families after it\nencounters a font keyword, for example `sans-serif`.\n\n##### removeDuplicates\n\nType: `boolean`\nDefault: `true`\n\nPass `false` to disable the module from removing duplicated font families.\n\n##### removeQuotes\n\nType: `boolean`\nDefault: `true`\n\nPass `false` to disable the module from removing quotes from font families.\nNote that oftentimes, this is a *safe optimisation* & is done safely. For more\ndetails, see [Mathias Bynens' article][mathias].\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributing\n\nPull requests are welcome. If you add functionality, then please add unit tests\nto cover it.\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[ci]:      https://travis-ci.org/ben-eb/postcss-font-family\n[deps]:    https://gemnasium.com/ben-eb/postcss-font-family\n[npm]:     http://badge.fury.io/js/postcss-font-family\n[postcss]: https://github.com/postcss/postcss\n\n[mathias]: https://mathiasbynens.be/notes/unquoted-font-family\n","repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"license":"MIT","versions":{"1.0.0":{"name":"postcss-font-family","version":"1.0.0","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugins"],"license":"MIT","dependencies":{"postcss":"^4.0.6","uniqs":"^2.0.0"},"devDependencies":{"tap-spec":"^2.2.2","tape":"^3.5.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"therealbenbriggs@hotmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"3ed85dc3054ae144bf64429751b72b0ae59809c9","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@1.0.0","_shasum":"98e09bf5d8a6a52aa44c59112071ba8b3c77b2b4","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"beneb","email":"therealbenbriggs@hotmail.com"},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}],"dist":{"shasum":"98e09bf5d8a6a52aa44c59112071ba8b3c77b2b4","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-1.0.0.tgz"},"directories":{}},"1.0.1":{"name":"postcss-font-family","version":"1.0.1","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugins"],"license":"MIT","dependencies":{"postcss":"^4.0.6","uniqs":"^2.0.0"},"devDependencies":{"tap-spec":"^2.2.2","tape":"^3.5.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"therealbenbriggs@hotmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"d84e2423cfdd5b9dacd2825de4428963be0a22f5","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@1.0.1","_shasum":"4cf9f44b5dd28c71ed1733478ae1e546c3ac0a10","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"beneb","email":"therealbenbriggs@hotmail.com"},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}],"dist":{"shasum":"4cf9f44b5dd28c71ed1733478ae1e546c3ac0a10","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-1.0.1.tgz"},"directories":{}},"1.0.2":{"name":"postcss-font-family","version":"1.0.2","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"lint":"jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js","test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugins"],"license":"MIT","dependencies":{"postcss":"^4.0.6","uniqs":"^2.0.0"},"devDependencies":{"jshint":"^2.6.3","jshint-stylish":"^1.0.1","tap-spec":"^2.2.2","tape":"^3.5.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"therealbenbriggs@hotmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"3960b4c7339146bbf06a3b905bc4bdb0a2153644","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@1.0.2","_shasum":"42f60d89ce1559976950bdde84c1f30a289eef73","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"beneb","email":"therealbenbriggs@hotmail.com"},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}],"dist":{"shasum":"42f60d89ce1559976950bdde84c1f30a289eef73","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-1.0.2.tgz"},"directories":{}},"1.1.0":{"name":"postcss-font-family","version":"1.1.0","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"lint":"jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js","test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugins"],"license":"MIT","dependencies":{"postcss":"^4.1.2","uniqs":"^2.0.0"},"devDependencies":{"jshint":"^2.6.3","jshint-stylish":"^1.0.1","tap-spec":"^2.2.2","tape":"^3.5.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"5677fc08119cbab6629e3916708c570011b2215a","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@1.1.0","_shasum":"d4f27fa94fb4500ef441717198311d0f72f8badf","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"beneb","email":"beneb.info@gmail.com"},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}],"dist":{"shasum":"d4f27fa94fb4500ef441717198311d0f72f8badf","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-1.1.0.tgz"},"directories":{}},"1.1.1":{"name":"postcss-font-family","version":"1.1.1","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"lint":"jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js","test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugin"],"license":"MIT","dependencies":{"postcss":"^4.1.16","uniqs":"^2.0.0"},"devDependencies":{"jshint":"^2.8.0","jshint-stylish":"^2.0.1","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"92642d5fb4f169029819cf053a28bc08656c6014","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@1.1.1","_shasum":"c04673f5dfb09d85f90395988a934d64118cc40f","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"beneb","email":"beneb.info@gmail.com"},"dist":{"shasum":"c04673f5dfb09d85f90395988a934d64118cc40f","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-1.1.1.tgz"},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}],"directories":{}},"1.2.0":{"name":"postcss-font-family","version":"1.2.0","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"lint":"jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js","test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugin"],"license":"MIT","dependencies":{"object-assign":"^3.0.0","postcss":"^4.1.16","uniqs":"^2.0.0"},"devDependencies":{"jshint":"^2.8.0","jshint-stylish":"^2.0.1","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"043970bbe1af5066f2fdf3059da9d820a2e8e7f8","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@1.2.0","_shasum":"09279d78d2a4a34aa2e0645aab4c6e391328d13c","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"beneb","email":"beneb.info@gmail.com"},"dist":{"shasum":"09279d78d2a4a34aa2e0645aab4c6e391328d13c","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-1.2.0.tgz"},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}],"directories":{}},"1.2.1":{"name":"postcss-font-family","version":"1.2.1","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"lint":"jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js","test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugin"],"license":"MIT","dependencies":{"object-assign":"^3.0.0","postcss":"^4.1.16","uniqs":"^2.0.0"},"devDependencies":{"jshint":"^2.8.0","jshint-stylish":"^2.0.1","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"5fe9bdcbc72eff6ec8c523c5fed9dec39e95e570","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@1.2.1","_shasum":"7502524b3983a31e6af64e4baa1034ed6ed8418c","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"beneb","email":"beneb.info@gmail.com"},"dist":{"shasum":"7502524b3983a31e6af64e4baa1034ed6ed8418c","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-1.2.1.tgz"},"maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"},{"name":"trysound","email":"trysound@yandex.ru"}],"directories":{}},"2.0.0":{"name":"postcss-font-family","version":"2.0.0","description":"Normalize font family declarations with PostCSS.","main":"index.js","scripts":{"lint":"jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js","test":"tape test.js | tap-spec"},"keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugin"],"license":"MIT","dependencies":{"object-assign":"^4.0.1","postcss":"^5.0.4","uniqs":"^2.0.0"},"devDependencies":{"jshint":"^2.8.0","jshint-stylish":"^2.0.1","tap-spec":"^4.1.0","tape":"^4.2.0"},"homepage":"https://github.com/ben-eb/postcss-font-family","author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"gitHead":"23911bb028e93812961d9385682a6c2dc33155ba","bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"_id":"postcss-font-family@2.0.0","_shasum":"238b2fff10dbda308dee5b499644e921ec001362","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"beneb","email":"beneb.info@gmail.com"},"dist":{"shasum":"238b2fff10dbda308dee5b499644e921ec001362","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/postcss-font-family/-/postcss-font-family-2.0.0.tgz"},"maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"},{"name":"trysound","email":"trysound@yandex.ru"}],"deprecated":"This module has been superceded by postcss-minify-font-values.","directories":{}}},"name":"postcss-font-family","time":{"modified":"2016-04-17T14:42:56.772Z","created":"2015-03-15T21:34:50.917Z","1.0.0":"2015-03-15T21:34:50.917Z","1.0.1":"2015-03-15T22:09:47.164Z","1.0.2":"2015-03-25T13:46:04.045Z","1.1.0":"2015-04-02T11:50:54.271Z","1.1.1":"2015-07-13T18:00:19.626Z","1.2.0":"2015-08-06T11:47:51.431Z","1.2.1":"2015-08-14T09:58:04.966Z","2.0.0":"2015-09-04T23:05:41.565Z"},"readmeFilename":"README.md","homepage":"https://github.com/ben-eb/postcss-font-family"}