{"_id":"postcss-font-family","_rev":"15-c3c17026ed19d8a5afa754ac4389bf2a","name":"postcss-font-family","description":"Normalize font family declarations with PostCSS.","dist-tags":{"latest":"2.0.0"},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.0.0.tgz","integrity":"sha512-JTcpDOJq5h7wS07ygnBZ6lgLLpYCYTdXklIB3SegHG1iCLen9tuWerxiSbr/aGJfXenAZyLqJavv6np/9Iw/0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvJJNGhcTuDAMv01utAE6MWRH7vGNCZ8+ReWqfyhHdUAiEAtinHIH0N49rzBY+WG4gJrZpjLYieGbvYGSE0kEK4PQo="}]}},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.0.1.tgz","integrity":"sha512-LwjYSdD8BfF7yEVZBRlTkpsCO9DQMmulkiiEghOBwXbai45v2jokSSThHgIJyfj42VPV14dDW80+k/+OEcLAaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDnXIWnRzZrEafFvMstOZ0qJYKs66+ZADLPJznPDJRRrAiEAy1pkhjgyI2TNV+o8K/AF82IHFgqqmXN6MRoBWR6FRSM="}]}},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.0.2.tgz","integrity":"sha512-/Itaybr/+f7iGNFLNRaFqHglw7/kUR9q7vgJebq5KXlKm4RT1EX6E7fAPQoW8pLPmpkMvMtWr5FGWfR83K/1oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRsKowzjjhv/6NL680D7b6AYO9DIGDbktxWO6AbeVweAiEA1wGsVbWFhCPOUhlqhqJkG5uUmZgEBD2gyBOvIIq8rEM="}]}},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.1.0.tgz","integrity":"sha512-cInd8J0sHQcyqIGRp9c8vicKEqUu/xeMopqhgv4Xa3Ip9lATYvhn5BfjMikaANELWj4i7zWBjjWSrsHK7EnFRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7VcIIQbUbMZ78hDe98mkNHN9w77spNJyIjMcTC83KEAiA7aeM5uggm+HQohqW/ugpqd+AzxljerHDUBQuExRZbzw=="}]}},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.1.1.tgz","integrity":"sha512-E4p6mnPiJNlqz1ptxCJw33vdEiZCkPAwwqy7Ihy8ohEOmp8WYmP30mf1nekZOQuFihfMny99lJ7qAtajiiv1yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbVnkhG+7Sln9kmmmURRFAfYpkB9lTWDaNEa+3LK9H4AiA/QGqWBh15SpqIzdrbbCe4WZwOI82/vSk0CyAg0PlVkA=="}]},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}]},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.2.0.tgz","integrity":"sha512-TIKOngkgw1zot2zo4YMywNl4bhmJuA5gD5qImcCmh9xnl18SCcW0gmO97j0WIEm8U9/JygVsEB6uooMdjjKmqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgbWaIcJvr0S2csXXRIenmPuNJI50w2yTBHh/+BBxYgAiAsjk2avFY2YLKMS02X7Es7KRbY4CzpC14GT/m4I4teBw=="}]},"maintainers":[{"name":"beneb","email":"therealbenbriggs@hotmail.com"}]},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-1.2.1.tgz","integrity":"sha512-c32Jf4YlO3p/y2KmTp328lDoNJJ+U/lJQomRhSwhTeZGTjDSPLLtfeq9WwHClZur/TRAMZeCQ1UByhKy0zmwGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbIvRxahpoQRPGsD0RTd4oj+sPG2HIofbe6KSaEJpOBQIgE2ZwylnuqjXlIv+iKfnUwcfInMZxG1vBNtHmQFciYFU="}]},"maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"},{"name":"trysound","email":"trysound@yandex.ru"}]},"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":"https://registry.npmjs.org/postcss-font-family/-/postcss-font-family-2.0.0.tgz","integrity":"sha512-nkagSM5Dgtls66HEGk/Kx19jshEbYCC4ftq3kujlSCz6Y88Zr8QP3BqcN/vSrLdTsPGxRxkmxANPkjcNFmankA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHVqOn18P65pATh4BqyH09HIoK+acTGPYEkbGvz7edD5AiEAo3BQ59w+4HOWtglz2fAd5DWr7yzc0L24/+dr0O8Tgfs="}]},"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."}},"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","maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"}],"time":{"modified":"2022-06-24T09:59:35.337Z","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"},"homepage":"https://github.com/ben-eb/postcss-font-family","keywords":["css","font","normalize","optimise","optimisation","postcss","postcss-plugin"],"repository":{"type":"git","url":"git://github.com/ben-eb/postcss-font-family.git"},"author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"bugs":{"url":"https://github.com/ben-eb/postcss-font-family/issues"},"license":"MIT","readmeFilename":"README.md"}