{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.2.1","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":{"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":"d04e3dab9c2bde93972a3680e37178ecde5c7fe7","_id":"compass-vertical-rhythm@1.2.1","_shasum":"b10170094438a0bfa31368e4e9782c4831c85183","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":"mathews.kyle@gmail.com"}],"dist":{"shasum":"b10170094438a0bfa31368e4e9782c4831c85183","tarball":"http://registry-npm.ywwl.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.2.1.tgz","integrity":"sha512-MvqE1xFgemMGcnAMmgQ22PcIaafYDj9TZJHRDl4luRb6zZMGXArrPvPuiKUfXKZNLC/79Ukta4FM3sKjnyptOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICiYe2uH/WdjFxZww+pjucxXyqt+uNXWwtoobrgLxCd/AiBdFf3h1CGQ9eyBdRdvi/rREnZDTt8Dck8WWEDnC8f7uw=="}],"size":32297,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/compass-vertical-rhythm-1.2.1.tgz_1467145270157_0.8514813506044447"},"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":1467145272394,"_cnpm_publish_time":1467145272394,"dist-tags":{"latest":"1.4.5"}}