{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.2.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/vertical-rhythm/issues"},"homepage":"https://github.com/KyleAMathews/vertical-rhythm","keywords":["sass","compass","vertical-rhythm","css","typography"],"license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/vertical-rhythm.git"},"scripts":{"test":"NODE_ENV=test node_modules/.bin/mocha --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter","test-watch":"NODE_ENV=test node_modules/.bin/mocha -w --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter"},"devDependencies":{"chai":"^1.10.0","coffee-script":"^1.9.0","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5","underscore":"^1.8.2"},"dependencies":{"convert-css-length":"^1.0.1","object-assign":"^2.0.0","parse-unit":"^1.0.1"},"gitHead":"a24f7e929d654aef9f3b44565e1583825705f7bd","_id":"compass-vertical-rhythm@1.2.0","_shasum":"6c997eb393ea04c77ba4c4b8650b760b52806925","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"6c997eb393ea04c77ba4c4b8650b760b52806925","tarball":"http://registry-npm.ywwl.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.2.0.tgz","integrity":"sha512-VCDjM73ASh+pKnWGnC2041EA018eu5kH+A6xpSKLUi4Zn2PQNDi4gB0klrp5y7uznZL4Mdtj14DPM03gckjzEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMOY9+8/3/XVM6uCwZ3YuaTPrw44UAE4JRSBf0zJ9L3AiEA5HmcqRS/PMrqMZwcWjlSA7givxc6aKNs28RQt+AbAwQ="}],"size":32292,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.2.0.tgz"},"directories":{},"readme":"# compass-vertical-rhythm\nA port-in-progress of the [Compass vertical rhythm\nlibrary](http://compass-style.org/reference/compass/typography/vertical_rhythm/).\n\nOnly the rhythm function has been ported atm.\n\n## Install\n`npm install compass-vertical-rhythm`\n\n## Usage\n```javascript\nvar VerticalRhythm = require('compass-vertical-rhythm');\n\nvar rhythm = VerticalRhythm({baseFontSize: '24px', baseLineHeight: 1.5}).rhythm;\n\nrhythm(1);\n// ---> 1.25rem\n\nrhythm(0.5);\n// ---> 0.625rem\n\nrhythm(0.25);\n// ---> 0.3125rem\n\n// Use it for React inline styles.\nReact.createClass({\n  render: function() {\n    <div style={{margin: rhythm(1)}}>\n      Hello world\n    </div>\n  }\n});\n```\n","publish_time":1425691563658,"_cnpm_publish_time":1425691563658,"dist-tags":{"latest":"1.4.5"}}