{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.4.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":"git+https://github.com/KyleAMathews/vertical-rhythm.git"},"scripts":{"build":"coffee -cb -o dist src/*","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":"^4.1.0","parse-unit":"^1.0.1"},"gitHead":"546272d339584723f3e765eb8cb3db9b09debefe","_id":"compass-vertical-rhythm@1.4.0","_npmVersion":"5.6.0","_nodeVersion":"8.7.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"dist":{"integrity":"sha512-1Skl9u74mrkFz8WMBn2ogIb5m/ItN3wTeoHTuiRB8y75TR1+KhPT2OlPedCwVtXaRAXwcD5nyHUBCBquoD7gIg==","shasum":"41cff92ef369d27e295d685f1ff420ff410e9883","tarball":"http://registry-npm.ywwl.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/mDSVKtJ7OwTU/ydk55zy0wh0BBrjrPWKWSuilh8BdwIgXDQ+UEJYqDFGx1EsoC8+my6UB+gFMhlMR0KWKKmFaGY="}],"size":36314,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.4.0.tgz"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compass-vertical-rhythm-1.4.0.tgz_1516519156826_0.9008656698279083"},"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":1516519156920,"_cnpm_publish_time":1516519156920,"dist-tags":{"latest":"1.4.5"}}