modularscale
Calculate a modular scale
Idea from http://www.modularscale.com/
Install
npm install modularscale
Usage
var ms = ; // Defaults to using golden ratio;// --> 1.618 // Set desired ratio;// --> 1.066 // See modularscale.com for the full list of preset ratios.// You can also pass it any ratio you'd like.