{"_id":"modularscale","_rev":"270815","name":"modularscale","description":"Calculate a value from a modular scale","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"kylemathews","email":""}],"time":{"modified":"2021-06-03T17:22:28.000Z","created":"2015-03-04T20:57:58.435Z","2.0.1":"2017-04-08T19:03:54.339Z","2.0.0":"2017-02-27T19:36:01.321Z","1.0.2":"2015-03-06T18:50:12.303Z","1.0.1":"2015-03-04T21:09:23.743Z","1.0.0":"2015-03-04T20:57:58.435Z"},"users":{},"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/KyleAMathews/modularscale.git"},"versions":{"2.0.1":{"name":"modularscale","description":"Calculate a value from a modular scale","version":"2.0.1","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/modularscale/issues"},"dependencies":{"lodash.isnumber":"^3.0.0"},"devDependencies":{"chai":"^2.1.0","coffee-script":"^1.9.1","coffeelint":"^1.9.2","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5"},"homepage":"https://github.com/KyleAMathews/modularscale","keywords":["modular","modular-scale","modularscale","scale","typography"],"license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/modularscale.git"},"scripts":{"build":"coffee -o dist/ -c src/index.coffee","test-watch":"NODE_ENV=test node_modules/.bin/mocha -w --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter","test":"coffeelint src/* && NODE_ENV=test node_modules/.bin/mocha --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter"},"gitHead":"2fe5aa1c3915e41bc1c3a4099f66d6d950221a28","_id":"modularscale@2.0.1","_shasum":"565806fe7e3a9d31821ec4e944fbe9c8401cafd0","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"565806fe7e3a9d31821ec4e944fbe9c8401cafd0","size":14387,"noattachment":false,"key":"/modularscale/-/modularscale-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modularscale/download/modularscale-2.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/modularscale-2.0.1.tgz_1491678233624_0.7839867158327252"},"directories":{},"publish_time":1491678234339,"_cnpm_publish_time":1491678234339,"_hasShrinkwrap":false},"2.0.0":{"name":"modularscale","description":"Calculate a value from a modular scale","version":"2.0.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/modularscale/issues"},"dependencies":{"lodash.isnumber":"^3.0.0"},"devDependencies":{"chai":"^2.1.0","coffee-script":"^1.9.1","coffeelint":"^1.9.2","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5"},"homepage":"https://github.com/KyleAMathews/modularscale","keywords":["modular","modular-scale","modularscale","scale","typography"],"license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/modularscale.git"},"scripts":{"test-watch":"NODE_ENV=test node_modules/.bin/mocha -w --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter","test":"coffeelint src/* && NODE_ENV=test node_modules/.bin/mocha --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter"},"gitHead":"4dcd7bc825ffcff1d24bcc5e0293501c23990a55","_id":"modularscale@2.0.0","_shasum":"d023da7812fc25cc0b0442a270e8f87ca1f8e756","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"d023da7812fc25cc0b0442a270e8f87ca1f8e756","size":9986,"noattachment":false,"key":"/modularscale/-/modularscale-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modularscale/download/modularscale-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/modularscale-2.0.0.tgz_1488224161093_0.3107772197108716"},"directories":{},"publish_time":1488224161321,"_cnpm_publish_time":1488224161321,"_hasShrinkwrap":false},"1.0.2":{"name":"modularscale","description":"Calculate a value from a modular scale","version":"1.0.2","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/modularscale/issues"},"dependencies":{"lodash.isnumber":"^3.0.0"},"devDependencies":{"chai":"^2.1.0","coffee-script":"^1.9.1","coffeelint":"^1.9.2","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5"},"homepage":"https://github.com/KyleAMathews/modularscale","keywords":["modular","modular-scale","modularscale","scale","typography"],"license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/modularscale.git"},"scripts":{"test-watch":"NODE_ENV=test node_modules/.bin/mocha -w --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter","test":"coffeelint src/* && NODE_ENV=test node_modules/.bin/mocha --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter"},"gitHead":"b67caa4c899f896fa49ad2e9084bdfc8575ce1e0","_id":"modularscale@1.0.2","_shasum":"4a8f13af32a5e5214fc6e2cfc529064abfd7d877","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"4a8f13af32a5e5214fc6e2cfc529064abfd7d877","size":9972,"noattachment":false,"key":"/modularscale/-/modularscale-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/modularscale/download/modularscale-1.0.2.tgz"},"directories":{},"publish_time":1425667812303,"_cnpm_publish_time":1425667812303,"_hasShrinkwrap":false},"1.0.1":{"name":"modularscale","description":"Calculate a value from a modular scale","version":"1.0.1","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/modularscale/issues"},"dependencies":{"lodash.isnumber":"^3.0.0"},"devDependencies":{"chai":"^2.1.0","coffee-script":"^1.9.1","coffeelint":"^1.9.2","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5"},"homepage":"https://github.com/KyleAMathews/modularscale","keywords":["modular","modular-scale","modularscale","scale","typography"],"license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/modularscale.git"},"scripts":{"test-watch":"NODE_ENV=test node_modules/.bin/mocha -w --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter","test":"coffeelint src/* && NODE_ENV=test node_modules/.bin/mocha --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter"},"gitHead":"925074c94e0cc07892b8b2dbbf21f6b2ced711af","_id":"modularscale@1.0.1","_shasum":"523161a61c0c9f85856794dd05ea4afb89d57263","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"523161a61c0c9f85856794dd05ea4afb89d57263","size":9617,"noattachment":false,"key":"/modularscale/-/modularscale-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/modularscale/download/modularscale-1.0.1.tgz"},"directories":{},"publish_time":1425503363743,"_cnpm_publish_time":1425503363743,"_hasShrinkwrap":false},"1.0.0":{"name":"modularscale","description":"Calculate a value from a modular scale","version":"1.0.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/modularscale/issues"},"dependencies":{"lodash.isnumber":"^3.0.0"},"devDependencies":{"chai":"^2.1.0","coffee-script":"^1.9.1","coffeelint":"^1.9.2","mocha":"^2.1.0","mocha-unfunk-reporter":"^0.4.0","pre-commit":"^1.0.5"},"homepage":"https://github.com/KyleAMathews/modularscale","keywords":["modular","modular-scale","modularscale","scale","typography"],"license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/modularscale.git"},"scripts":{"test-watch":"NODE_ENV=test node_modules/.bin/mocha -w --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter","test":"coffeelint src/* && NODE_ENV=test node_modules/.bin/mocha --recursive --compilers coffee:coffee-script/register -R mocha-unfunk-reporter"},"gitHead":"bea281ec7963defc2ce636e5ac396a519c7fd7f3","_id":"modularscale@1.0.0","_shasum":"372b6349323b575c1b33e6a66d457bcc4cf976af","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"372b6349323b575c1b33e6a66d457bcc4cf976af","size":8231,"noattachment":false,"key":"/modularscale/-/modularscale-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/modularscale/download/modularscale-1.0.0.tgz"},"directories":{},"publish_time":1425502678435,"_cnpm_publish_time":1425502678435,"_hasShrinkwrap":false}},"readme":"# modularscale\nCalculate a modular scale\n\nIdea from http://www.modularscale.com/\n\n## Install\n`npm install modularscale`\n\n## Usage\n```javascript\nvar ms = require('modularscale');\n\n// Defaults to using golden ratio\nms(1);\n// --> 1.618\n\n// Set desired ratio\nms(1, \"minor second\");\n// --> 1.066\n\n// See modularscale.com for the full list of preset ratios.\n// You can also pass it any ratio you'd like.\n```\n","_attachments":{},"homepage":"https://github.com/KyleAMathews/modularscale","bugs":{"url":"https://github.com/KyleAMathews/modularscale/issues"},"license":"MIT"}