{"_id":"css-font-weight-names","_rev":"322474","name":"css-font-weight-names","description":"A JSON Object of all CSS font weight names mapped to their numeric value","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2021-06-04T01:28:50.000Z","created":"2015-06-22T14:48:01.511Z","0.2.1":"2015-06-23T00:54:46.179Z","0.1.1":"2015-06-22T14:57:28.437Z","0.1.0":"2015-06-22T14:48:01.511Z"},"users":{},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"repository":{"type":"git","url":"https://github.com/jonathantneal/css-font-weight-names.git"},"versions":{"0.2.1":{"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","size":2108,"noattachment":false,"key":"/css-font-weight-names/-/css-font-weight-names-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-font-weight-names/download/css-font-weight-names-0.2.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1435020886179,"_cnpm_publish_time":1435020886179,"_hasShrinkwrap":false},"0.1.1":{"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","size":1840,"noattachment":false,"key":"/css-font-weight-names/-/css-font-weight-names-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-font-weight-names/download/css-font-weight-names-0.1.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1434985048437,"_cnpm_publish_time":1434985048437,"_hasShrinkwrap":false},"0.1.0":{"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","size":1826,"noattachment":false,"key":"/css-font-weight-names/-/css-font-weight-names-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-font-weight-names/download/css-font-weight-names-0.1.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1434984481511,"_cnpm_publish_time":1434984481511,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/jonathantneal/css-font-weight-names","bugs":{"url":"https://github.com/jonathantneal/css-font-weight-names/issues"},"license":"CC0-1.0"}