{"name":"css-font-weight-names","version":"0.2.1","description":"A JSON Object of all CSS font weight names mapped to their numeric value","keywords":["css","w3c","fonts","weights","names","numbers","json"],"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":"168df8645eefea612eb55e40498fc6ee791f8686","_id":"css-font-weight-names@0.2.1","scripts":{},"_shasum":"5710d485ad295f6b3f1ceec41f882e324a46b516","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.32","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"5710d485ad295f6b3f1ceec41f882e324a46b516","tarball":"http://registry-npm.ywwl.com/css-font-weight-names/download/css-font-weight-names-0.2.1.tgz","integrity":"sha512-2dDc3aYw5yE4IvlJ2Lhz5NGSc2P4lshLd1qImXUyb62r/07/0dr7njHwWlUIoanoTnrENa9tgceUKY5nYtL4pA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyF0tFz908ZpnziAqtoU5Q2Bip/K64S4vcgnUzUnrFeAiA8tjwUNHFY5i8v4AkQoWl8fzvdiBa8Vua7pKbah+G37Q=="}],"size":2108,"noattachment":false,"key":"/css-font-weight-names/-/css-font-weight-names-0.2.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":1435020886179,"_cnpm_publish_time":1435020886179,"dist-tags":{"latest":"0.2.1"}}