{"name":"css-font-weight-names","version":"0.1.0","description":"A JSON Object of css font-weight names mapped to their numeric value","keywords":["css","font","text","weight"],"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"},"gitHead":"47bc7c0a783001bbfb9c712a4ce5c031c64abda6","_id":"css-font-weight-names@0.1.0","scripts":{},"_shasum":"f1fe10f9313fec3741f9a42ab5bec3da8b84ac78","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.32","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"f1fe10f9313fec3741f9a42ab5bec3da8b84ac78","tarball":"http://registry-npm.ywwl.com/css-font-weight-names/download/css-font-weight-names-0.1.0.tgz","integrity":"sha512-Fw68UJ8q/Oh9HsLxneYX3PA89Qc3f5Kava/QQ6cLjCV1ffZ3I2jQpv5KXbZLOyY85z8HuMYloxwjSC1YsbBUWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXRoQm8l/fUPSwOsW0h9sMoq/QXafFC7q09sCVycOrTAiEA7RTFtRhanA2zYjz4UI4IEcSmuld72dAC5sVRPtUQPg0="}],"size":1826,"noattachment":false,"key":"/css-font-weight-names/-/css-font-weight-names-0.1.0.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":1434984481511,"_cnpm_publish_time":1434984481511,"dist-tags":{"latest":"0.2.1"}}