{"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":"mathews.kyle@gmail.com"}],"dist":{"shasum":"565806fe7e3a9d31821ec4e944fbe9c8401cafd0","tarball":"http://registry-npm.ywwl.com/modularscale/download/modularscale-2.0.1.tgz","integrity":"sha512-bsz102i6DvvTVHlqGAVfHBdYFNrUTotcLgx6nyhrUAZBSADP0JBeoPTtmjD1Sh6i+M93/TtOqfdMhvT93MILXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHgo0SQSvEEQLhONuOSV4tjbdBuLkg8d9SoPuijgrQgAiBiXHjwScBnIeoppJFAJlvrx9C9Tu1aFTVRS0qrOqsWIg=="}],"size":14387,"noattachment":false,"key":"/modularscale/-/modularscale-2.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/modularscale-2.0.1.tgz_1491678233624_0.7839867158327252"},"directories":{},"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","publish_time":1491678234339,"_cnpm_publish_time":1491678234339,"dist-tags":{"latest":"2.0.1"}}