{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.0.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 -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"},"dependencies":{"convert-css-length":"^1.0.1","object-assign":"^2.0.0","parse-unit":"^1.0.1"},"gitHead":"fc00357f3bff9ea64e35a1545389d3711beca68a","_id":"compass-vertical-rhythm@1.0.0","_shasum":"5c7769be81a960b2f1d029bb656d5b7c5d5f955b","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"5c7769be81a960b2f1d029bb656d5b7c5d5f955b","tarball":"http://registry-npm.ywwl.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.0.0.tgz","integrity":"sha512-LMpzEBuS7Fcl7QVGxnLaHJ2DEz9DHbTxn94S6a6tZFSmgt2kXqp09X0vvhAe39umY4QwO8tl2QYfkWviXjjI7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAuTIMNvUv4VxXpW/F3oEGiN2/Rk9xS/+Boi+zv3TgZVAiEAjYoqtf1gTy6XkM6MRbrnfpUxdmkpJQ6fmIG6BDr7qj4="}],"size":14827,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.0.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":1423676689806,"_cnpm_publish_time":1423676689806,"dist-tags":{"latest":"1.4.5"}}