{"_id":"numscale","_rev":"12-9ce1d7d6cdc1ebcefbda2c35cdf803bb","name":"numscale","description":"Scale numbers and convert into pretty strings with suffixes","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"author":{"name":"Michael Harsch","email":"mike@harschsystems.com"},"name":"numscale","description":"Scale numbers and convert into pretty strings with suffixes","version":"0.0.1","homepage":"https://github.com/mharsch/numscale","repository":{"type":"git","url":"git://github.com/mharsch/numscale.git"},"main":"./numscale.js","engines":{"node":">=0.4.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"dependencies":{},"devDependencies":{"mocha":"0.3.x"},"_npmUser":{"name":"mharsch","email":"mike@harschsystems.com"},"_id":"numscale@0.0.1","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.2","_defaultsLoaded":true,"dist":{"shasum":"0d359f99a6d52656d13e5b697d53a76eedebaf65","tarball":"https://registry.npmjs.org/numscale/-/numscale-0.0.1.tgz","integrity":"sha512-q51+zwCwSnjWYpscX3lweME/9bf2fHXHWFE95AEH9uY9XyF7Rx0iiuLYrxHYjxtYi5PsWqLPPJW9nwizt9PIfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICr0fNobcYJF8k+h/vWSxKwzOOO/WTD6OrD5PhaMuW5bAiEA2NqJDkJ3rGNA15fVABnmjbVd8E9NCxBfYZFL0ZEAR8M="}]},"maintainers":[{"name":"mharsch","email":"mike@harschsystems.com"}]},"0.0.2":{"author":{"name":"Michael Harsch","email":"mike@harschsystems.com"},"name":"numscale","description":"Scale numbers and convert into pretty strings with suffixes","version":"0.0.2","homepage":"https://github.com/mharsch/numscale","repository":{"type":"git","url":"git://github.com/mharsch/numscale.git"},"main":"./numscale.js","engines":{"node":">=0.4.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"dependencies":{},"devDependencies":{"mocha":"0.3.x"},"_npmUser":{"name":"mharsch","email":"mike@harschsystems.com"},"_id":"numscale@0.0.2","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.2","_defaultsLoaded":true,"dist":{"shasum":"a36abec781ccbd5d213c1f7665f08b46cea77171","tarball":"https://registry.npmjs.org/numscale/-/numscale-0.0.2.tgz","integrity":"sha512-y+Z9m8dTqgyI7/OUDEdKqiGlqMsPXijrJdDJhWVNdvk2NGAw2C+EXu7CzTjhYcJyjw4hL0aKVXf2kQmMDmqXqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAaPCT3FDhUDXYFiQp9UMo0+Xj9ls4SEXJwI61EOjV7AiEAxm/MTFJAfWQIjHlEi2jiZgp2xwtmFNHopg+U50msunI="}]},"maintainers":[{"name":"mharsch","email":"mike@harschsystems.com"}]},"0.0.3":{"author":{"name":"Michael Harsch","email":"mike@harschsystems.com"},"name":"numscale","description":"Scale numbers and convert into pretty strings with suffixes","version":"0.0.3","homepage":"https://github.com/mharsch/numscale","repository":{"type":"git","url":"git://github.com/mharsch/numscale.git"},"main":"./numscale.js","engines":{"node":">=0.4.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"dependencies":{},"devDependencies":{"mocha":"0.3.x"},"_npmUser":{"name":"mharsch","email":"mike@harschsystems.com"},"_id":"numscale@0.0.3","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.2","_defaultsLoaded":true,"dist":{"shasum":"238a6197d0fbaf7ef7846e49e13e2dc0bafc374d","tarball":"https://registry.npmjs.org/numscale/-/numscale-0.0.3.tgz","integrity":"sha512-OHj3a5WBmvxG/qy2OeyARgv/LfQ61JUGdQ1CZvz+QWltjegVnNN4iBsJPSaUR1Z1XYeFJ2wDIYWcHqI5iquh6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDS5fiI+9IarNfVtsdM/ZfCDctdUkCCL7YfLU+lZgYbbAiEAp00qTsuu7W1cdKug6Duidaritaztb1RE8j93T1kHLrA="}]},"maintainers":[{"name":"mharsch","email":"mike@harschsystems.com"}]},"0.0.4":{"author":{"name":"Michael Harsch","email":"mike@harschsystems.com"},"name":"numscale","description":"Scale numbers and convert into pretty strings with suffixes","version":"0.0.4","homepage":"https://github.com/mharsch/numscale","repository":{"type":"git","url":"git://github.com/mharsch/numscale.git"},"main":"./numscale.js","engines":{"node":">=0.4.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"dependencies":{},"devDependencies":{"mocha":"1.x.x","should":"4.x.x"},"gitHead":"fd5f91ca3a2056effbc3da6a3062e25e9a6885bc","bugs":{"url":"https://github.com/mharsch/numscale/issues"},"_id":"numscale@0.0.4","_shasum":"e1b01ecab0dc70ac64cb29579eed0a53e188a19e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"mharsch","email":"mike@harschsystems.com"},"maintainers":[{"name":"mharsch","email":"mike@harschsystems.com"}],"dist":{"shasum":"e1b01ecab0dc70ac64cb29579eed0a53e188a19e","tarball":"https://registry.npmjs.org/numscale/-/numscale-0.0.4.tgz","integrity":"sha512-A9l06rPcS3Pg6bNLI472vMtXwJOt3SU7dVXVmhOZs0P30SJJymrCNDIUefkX7V1Fqh034H7hNWEIz/yXFtR/bA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVwSz6hCMXldN+yGwCh1TdGRTb6BL1BTDDfys4B1GfXAiBRhIB9tGdU2lEsTlRzrS+F0jNAxUG5oqmWLg9RypBkFg=="}]}}},"readme":"#numscale.js\n\nA Node.js module for converting numbers into pretty strings with suffixes\nto indicate scale (Kilo, Mega, Giga, etc.)\n\n##Examples:\n\n\t>var ns = require('numscale');\n\t>var myThroughput = {value: 1000000000, powerOf: 10, maxLen: 5};\n\t>ns.scale(myThroughput)\n\t'1G'\n\n\t>var myCapacity = {value: 1073741824, powerOf: 2, maxLen: 5};\n\t>ns.scale(myCapacity)\n\t'1G'\n\n\t>var myCounter = {value: 654345443, powerOf: 10, maxLen: 6};\n\t>ns.scale(myCounter)\n\t'654.3M'\n\n\t>var myMemory = {value: 43322466, powerOf: 2, maxLen: 7};\n\t>ns.scale(myMemory)\n\t'41.316M'\n\n##Usage:\n\nThe scale() method takes an object argument.  The members of the argument object\nare as follows:\n\n* value (required) - the number to be scaled and formatted\n* powerOf (optional) - either 2 or 10: sets scaling factor (defaults to 10)\n* maxLen (optional) - maximum length of the string to be returned (default 20)\n\n'value' must be a non-negative positive integer within the safe JavaScript range.\n","maintainers":[{"name":"mharsch","email":"mike@harschsystems.com"}],"time":{"modified":"2022-06-22T13:44:36.296Z","created":"2011-12-08T22:44:38.802Z","0.0.1":"2011-12-08T22:44:38.935Z","0.0.2":"2011-12-24T22:13:31.270Z","0.0.3":"2011-12-27T17:26:55.922Z","0.0.4":"2014-09-10T20:51:41.556Z"},"author":{"name":"Michael Harsch","email":"mike@harschsystems.com"},"repository":{"type":"git","url":"git://github.com/mharsch/numscale.git"},"users":{"bahamas10":true},"homepage":"https://github.com/mharsch/numscale","bugs":{"url":"https://github.com/mharsch/numscale/issues"},"readmeFilename":"README.md"}