{"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":"mathews.kyle@gmail.com"}],"dist":{"shasum":"4a8f13af32a5e5214fc6e2cfc529064abfd7d877","tarball":"http://registry-npm.ywwl.com/modularscale/download/modularscale-1.0.2.tgz","integrity":"sha512-xfu46hZcAL9xU8S/RihHE49rmDYRAg36lQez49pcO6/aLBJ7cfVr5DH7Obo2PGKTCSAyy4iTAsWZa9apECK9mQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdGV+VYoEU81eqzrnFgYWkDHLBHJ5mKSNYEZ/JxDmmNAiEA3u/rW7owUFth7uLaKqf4pJRAz+Sg6YRYvtvJgbgUziM="}],"size":9972,"noattachment":false,"key":"/modularscale/-/modularscale-1.0.2.tgz"},"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":1425667812303,"_cnpm_publish_time":1425667812303,"dist-tags":{"latest":"2.0.1"}}