{"name":"css-font-weight-names","version":"0.1.1","description":"A JSON Object of css font-weight names mapped to their numeric value","keywords":["css","fonts","weights","names","text"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","bugs":{"url":"https://github.com/jonathantneal/css-font-weight-names/issues"},"homepage":"https://github.com/jonathantneal/css-font-weight-names","repository":{"type":"git","url":"https://github.com/jonathantneal/css-font-weight-names.git"},"main":"./css-font-weight-names.json","gitHead":"2b1a8c74d7f63ca1ea107e58eea011db8637934d","_id":"css-font-weight-names@0.1.1","scripts":{},"_shasum":"2388bc5c68eca725405f49782f5c84d998c61b3a","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.32","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"2388bc5c68eca725405f49782f5c84d998c61b3a","tarball":"http://registry-npm.ywwl.com/css-font-weight-names/download/css-font-weight-names-0.1.1.tgz","integrity":"sha512-OHI/sQ2dsRSXuBW8dMgjVAvmzuwAaQ0RHrSgnLfqpWSQYPe2Llv0zer8/quHtDib4f7qNMYG0i4YnP08wJMrBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIIDfOKeT52sOoksSOO4k1Iq+TjZLKDh0rdrq+IevxCAiAqgdlmVTMPJep0TaQj/Lv7XUrhuJYKRAsoZayd5z49wA=="}],"size":1840,"noattachment":false,"key":"/css-font-weight-names/-/css-font-weight-names-0.1.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"readme":"# CSS Font Weight Names\n\nA JSON Object of all CSS font weight names mapped to their numeric value.\n\n## Usage\n\n``` js\nvar fontweights = require('css-font-weight-names');\n\nconsole.dir(fontweights);\n```\n\nyields\n\n``` json\n{\n    \"thin\": 100,\n    \"extralight\": 200,\n    \"ultralight\": 200,\n    \"light\": 300,\n    \"book\": 400,\n\t...\n}\n```\n\nThis list is generated from the [Font Weight Numeric Values] section of the [W3C CSS Fonts Specification].\n\nThese values form an ordered sequence, where each number indicates a weight that is at least as dark as its predecessor. These roughly correspond to the commonly used weight names below:\n\n- 100 - **Thin**\n- 200 - **Extra Light**, **Ultra Light**\n- 300 - **Light**\n- 400 - **Normal**, **Book**, **Regular**\n- 500 - **Medium**\n- 600 - **Semi Bold**, **Demi Bold**\n- 700 - **Bold**\n- 800 - **Extra Bold**, **Ultra Bold**\n- 900 - **Black**, **Heavy**\n\n## Installation\n\n```sh\nnpm install css-font-weight-names\n```\n\n---\n\nThese values are consistent with other frameworks, such as [.NET FontWeights], [JavaFX FontWeight], and [TypeKit Multiple Weights].\n\nTwo minor differences are that [.NET FontWeights] lists `extralight` as having a value of `100` instead of `200`, and that [TypeKit Multiple Weights] lists `heavy` as having a value of `800` instead of `900`.\n\n[Font Weight Numeric Values]: http://www.w3.org/TR/css3-fonts/#font-weight-numeric-values\n[.NET FontWeights]: https://msdn.microsoft.com/en-us/library/system.windows.fontweights(v=vs.110).aspx\n[JavaFX FontWeight]: https://docs.oracle.com/javafx/2/api/javafx/scene/text/FontWeight.html\n[TypeKit Multiple Weights]: http://help.typekit.com/customer/portal/articles/6855-using-multiple-weights-and-styles\n[W3C CSS Fonts Specification]: http://www.w3.org/TR/css3-fonts/\n","publish_time":1434985048437,"_cnpm_publish_time":1434985048437,"dist-tags":{"latest":"0.2.1"}}