{"_id":"compass-vertical-rhythm","_rev":"270803","name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","dist-tags":{"latest":"1.4.5"},"maintainers":[{"name":"kylemathews","email":""}],"time":{"modified":"2021-06-03T17:22:26.000Z","created":"2015-02-11T17:44:49.806Z","1.4.5":"2018-04-27T22:49:56.904Z","1.4.4":"2018-04-27T22:49:46.390Z","1.4.3":"2018-04-24T01:50:20.447Z","1.4.0":"2018-01-21T07:19:16.920Z","1.3.1":"2016-08-18T18:55:30.409Z","1.3.0":"2016-08-16T18:57:49.731Z","1.2.1":"2016-06-28T20:21:12.394Z","1.2.0":"2015-03-07T01:26:03.658Z","1.1.0":"2015-03-05T01:38:25.182Z","1.0.0":"2015-02-11T17:44:49.806Z"},"users":{},"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/KyleAMathews/vertical-rhythm.git"},"versions":{"1.4.5":{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.4.5","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","source":"src/index.js","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/vertical-rhythm.git"},"scripts":{"test":"mocha test/index.js","test-watch":"mocha --watch test/index.js","build":"microbundle","publish":"microbundle && npm version patch && npm publish","format":"prettier --write src/index.js"},"devDependencies":{"chai":"^1.10.0","microbundle":"^0.4.4","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5","prettier":"^1.12.1","underscore":"^1.8.2"},"dependencies":{"convert-css-length":"^1.0.1","object-assign":"^4.1.0","parse-unit":"^1.0.1"},"gitHead":"7519a269ec4e232afefd907d1ff7c486312dc023","_id":"compass-vertical-rhythm@1.4.5","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"dist":{"shasum":"4baa8d7068fda164d3675d706775d7547e8750f5","size":60093,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.4.5.tgz"},"maintainers":[{"name":"kylemathews","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compass-vertical-rhythm_1.4.5_1524869396844_0.7833598323431392"},"_hasShrinkwrap":false,"publish_time":1524869396904,"_cnpm_publish_time":1524869396904},"1.4.4":{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.4.4","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","source":"src/index.js","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/vertical-rhythm.git"},"scripts":{"test":"mocha test/index.js","test-watch":"mocha --watch test/index.js","build":"microbundle","publish":"microbundle && npm version patch && npm publish","format":"prettier --write src/index.js"},"devDependencies":{"chai":"^1.10.0","microbundle":"^0.4.4","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5","prettier":"^1.12.1","underscore":"^1.8.2"},"dependencies":{"convert-css-length":"^1.0.1","object-assign":"^4.1.0","parse-unit":"^1.0.1"},"gitHead":"21d1e80b4aef9a4771f6b46e0e121b93e1a3e3b6","_id":"compass-vertical-rhythm@1.4.4","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"dist":{"shasum":"239da9ead4d2ef80cf51bedf86d0cdbb968004aa","size":60092,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.4.4.tgz"},"maintainers":[{"name":"kylemathews","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compass-vertical-rhythm_1.4.4_1524869386189_0.4266066985790542"},"_hasShrinkwrap":false,"publish_time":1524869386390,"_cnpm_publish_time":1524869386390},"1.4.3":{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.4.3","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","source":"src/index.js","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/vertical-rhythm.git"},"scripts":{"build":"microbundle","format":"prettier --write src/index.js"},"devDependencies":{"chai":"^1.10.0","microbundle":"^0.4.4","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5","prettier":"^1.12.1","underscore":"^1.8.2"},"dependencies":{"convert-css-length":"^1.0.1","object-assign":"^4.1.0","parse-unit":"^1.0.1"},"gitHead":"89e5aae8223f81582b8347cb46c4aff886cdc8b3","_id":"compass-vertical-rhythm@1.4.3","_npmVersion":"5.8.0","_nodeVersion":"8.7.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"dist":{"shasum":"916400783150c55d15145de77d686b35dcccb402","size":59138,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.4.3.tgz"},"maintainers":[{"name":"kylemathews","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compass-vertical-rhythm_1.4.3_1524534620346_0.021294528226885268"},"_hasShrinkwrap":false,"publish_time":1524534620447,"_cnpm_publish_time":1524534620447},"1.4.0":{"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":{"shasum":"41cff92ef369d27e295d685f1ff420ff410e9883","size":36314,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.4.0.tgz"},"maintainers":[{"name":"kylemathews","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compass-vertical-rhythm-1.4.0.tgz_1516519156826_0.9008656698279083"},"directories":{},"publish_time":1516519156920,"_hasShrinkwrap":false,"_cnpm_publish_time":1516519156920},"1.3.1":{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.3.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":{"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":"795dc2b43f357748ed5265eda57053a7d66fdad3","_id":"compass-vertical-rhythm@1.3.1","_shasum":"6047ffd8b20b2dcba93698e90a34570662893488","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.2.2","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"6047ffd8b20b2dcba93698e90a34570662893488","size":36783,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.3.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/compass-vertical-rhythm-1.3.1.tgz_1471546530171_0.6180445265490562"},"directories":{},"publish_time":1471546530409,"_cnpm_publish_time":1471546530409,"_hasShrinkwrap":false},"1.3.0":{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.3.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":"b0bd20587bf93052a371e649f7ce4f54bcc12317","_id":"compass-vertical-rhythm@1.3.0","_shasum":"0d2fe210d9ce9358720bcbd8a23b39ab46bdc9f9","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.2.2","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"0d2fe210d9ce9358720bcbd8a23b39ab46bdc9f9","size":36801,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.3.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/compass-vertical-rhythm-1.3.0.tgz_1471373869473_0.8665039089974016"},"directories":{},"publish_time":1471373869731,"_cnpm_publish_time":1471373869731,"_hasShrinkwrap":false},"1.2.1":{"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":""}],"dist":{"shasum":"b10170094438a0bfa31368e4e9782c4831c85183","size":32297,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/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":{},"publish_time":1467145272394,"_cnpm_publish_time":1467145272394,"_hasShrinkwrap":false},"1.2.0":{"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":""}],"dist":{"shasum":"6c997eb393ea04c77ba4c4b8650b760b52806925","size":32292,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.2.0.tgz"},"directories":{},"publish_time":1425691563658,"_cnpm_publish_time":1425691563658,"_hasShrinkwrap":false},"1.1.0":{"name":"compass-vertical-rhythm","description":"A port-in-progress of the Compass vertical rhythm library","version":"1.1.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":"dd8ff73f0d7343436c7a4cc593738711f96a509c","_id":"compass-vertical-rhythm@1.1.0","_shasum":"560d3037b69afc97958bfcbe3bcdf8129c3d40c8","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"560d3037b69afc97958bfcbe3bcdf8129c3d40c8","size":31878,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.1.0.tgz"},"directories":{},"publish_time":1425519505182,"_cnpm_publish_time":1425519505182,"_hasShrinkwrap":false},"1.0.0":{"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":""}],"dist":{"shasum":"5c7769be81a960b2f1d029bb656d5b7c5d5f955b","size":14827,"noattachment":false,"key":"/compass-vertical-rhythm/-/compass-vertical-rhythm-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compass-vertical-rhythm/download/compass-vertical-rhythm-1.0.0.tgz"},"directories":{},"publish_time":1423676689806,"_cnpm_publish_time":1423676689806,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/KyleAMathews/vertical-rhythm","bugs":{"url":"https://github.com/KyleAMathews/vertical-rhythm/issues"},"license":"MIT"}