{"_id":"any-base","_rev":"7-162ae7ad4beed8474cc914c36a051409","name":"any-base","description":"Converter from any base to other any base","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"any-base","version":"1.0.0","description":"Converter from any base to other any base","main":"index.js","scripts":{"test":"node tests/test.js"},"keywords":["number","convert","base","alphabet","short number","long numbers","dec","hex","bin","oct","any"],"repository":{"type":"git","url":"https://github.com/HarasimowiczKamil/any-base.git"},"author":{"name":"Kamil Harasimowicz","email":"mifczu@gmail.com"},"license":"MIT","gitHead":"6e19e3c330df14992f907578f84e07dce1dcac6e","bugs":{"url":"https://github.com/HarasimowiczKamil/any-base/issues"},"homepage":"https://github.com/HarasimowiczKamil/any-base","_id":"any-base@1.0.0","_shasum":"76446561cb1fa36670e4aac4d139a48d7644314b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"mifczu","email":"mifczu@gmail.com"},"maintainers":[{"name":"mifczu","email":"mifczu@gmail.com"}],"dist":{"shasum":"76446561cb1fa36670e4aac4d139a48d7644314b","tarball":"https://registry.npmjs.org/any-base/-/any-base-1.0.0.tgz","integrity":"sha512-b/mpFt9W3PSOorEdwz1zyjcb1UKRrQGJKxj1NFDZxmHkuEc/Mbbdj443Qcw+8oWv87J+8eFP1kqvfWakDOEdTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDumMI2NIXIzwenMmNBhfN63reMjXOyBwcrAy5E4QK8CwIhAJtjZ6q78rIp5xIEh1MG0266EMsbTP3mh+nYptLYHwNp"}]}},"1.0.1":{"name":"any-base","version":"1.0.1","description":"Converter from any base to other any base","main":"index.js","scripts":{"start":"watchify . -s AnyBase -o dist/any-base.js -v -d","build":"browserify . -s AnyBase | ./node_modules/.bin/uglifyjs -cm > dist/any-base.min.js","test":"node tests/test.js"},"keywords":["number","convert","base","alphabet","short number","long numbers","dec","hex","bin","oct","any"],"repository":{"type":"git","url":"git+https://github.com/HarasimowiczKamil/any-base.git"},"author":{"name":"Kamil Harasimowicz","email":"mifczu@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"browserify":"^13.1.1","uglify-js":"^2.7.4","watchify":"^3.7.0"},"gitHead":"e646b6e874ee5d4c2677c8f40e07831662bfe0bb","bugs":{"url":"https://github.com/HarasimowiczKamil/any-base/issues"},"homepage":"https://github.com/HarasimowiczKamil/any-base#readme","_id":"any-base@1.0.1","_shasum":"feace48fda1aa42f2b7546f2caae4cc26704a3de","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"mifczu","email":"mifczu@gmail.com"},"dist":{"shasum":"feace48fda1aa42f2b7546f2caae4cc26704a3de","tarball":"https://registry.npmjs.org/any-base/-/any-base-1.0.1.tgz","integrity":"sha512-niZ5CyKFFzQasxEkDaxlvGn1Fk7EPnvjkwDVULS5dGFKu8yhotACWz9RLeWegqMxGrY8s1VY5zXif72cvIZ+9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHZ9w/wqdi6il5WpYUpl8mIxcWUnJORiToGJMt2dzcSAiEApl3EGPtL7jMBt3fEY1lHLMq+9ZvYM8AfMrAQHmMrb/c="}]},"maintainers":[{"name":"mifczu","email":"mifczu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/any-base-1.0.1.tgz_1480537796453_0.1595956759992987"}},"1.1.0":{"name":"any-base","version":"1.1.0","description":"Converter from any base to other any base","main":"index.js","scripts":{"start":"watchify . -s AnyBase -o dist/any-base.js -v -d","build":"browserify . -s AnyBase | ./node_modules/.bin/uglifyjs -cm > dist/any-base.min.js","test":"node tests/test.js"},"keywords":["number","convert","base","alphabet","short number","long numbers","dec","hex","bin","oct","any"],"repository":{"type":"git","url":"git+https://github.com/HarasimowiczKamil/any-base.git"},"author":{"name":"Kamil Harasimowicz","email":"mifczu@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"browserify":"^13.1.1","punycode":"^2.1.0","uglify-js":"^2.7.4","watchify":"^3.7.0"},"gitHead":"7595a7398959618a93cb4edef0bae3e035eb3ce0","bugs":{"url":"https://github.com/HarasimowiczKamil/any-base/issues"},"homepage":"https://github.com/HarasimowiczKamil/any-base#readme","_id":"any-base@1.1.0","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"mifczu","email":"mifczu@gmail.com"},"dist":{"integrity":"sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg==","shasum":"ae101a62bc08a597b4c9ab5b7089d456630549fe","tarball":"https://registry.npmjs.org/any-base/-/any-base-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd8U5WTj3LFNWobzJPPhaIYWzf2aJdPZZhfb22Z193WAIhAMTMX5pPRZl+MccDumBlaXaLfUWXBq9zeS5hmfmtPfFJ"}]},"maintainers":[{"name":"mifczu","email":"mifczu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/any-base-1.1.0.tgz_1507551125125_0.33573661162517965"}}},"readme":"# README #\n\nThe library allows you to convert any large numbers in any number base to another number base. The base is determined by specifying the alphabet. So is full freedom\n\n[![NPM](https://nodei.co/npm/any-base.png?downloads=true&stars=true)](https://nodei.co/npm/any-base/)\n\n## Installation ##\n\n```\nnpm install any-base --save\n```\n\n## API ##\n\n### AnyBase() ###\n\n```\nconverterFunction = anyBase(sourceAlphabet, destinationAlphabet);\n```\n\n#### Parameters ####\n\n* {String} __sourceAlphabet__      digits from smallest to the largest\n* {String} __destinationAlphabet__ digits from smallest to the largest\n\n#### Return Values ####\n\nReturns __function__ that converts the number of source base to the destination\n\n### Convert() ###\n\n```\nconverterFunction(number)\n```\n\n#### Parameters ####\n\n* {String} __number__ number of source base\n\n#### Return Values ####\n\nReturns number of destonation base\n\n## Example ##\n\n```js\nvar anyBase = require('any-base'),\ndec2hex = anyBase(anyBase.DEC, anyBase.HEX),\nshortId = anyBase(anyBase.DEC, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-+!@#$^'),\nlongId  = anyBase('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-+!@#$^', anyBase.DEC);\n\ndec2hex('123456'); // return: '1E240'\nshortId('1234567890'); // return: 'PtmIa'\nlongId('PtmIa'); // return: '1234567890'\n```\n","maintainers":[{"name":"mifczu","email":"mifczu@gmail.com"}],"time":{"modified":"2022-06-13T03:07:11.380Z","created":"2015-05-28T20:44:52.243Z","1.0.0":"2015-05-28T20:44:52.243Z","1.0.1":"2016-11-30T20:29:57.135Z","1.1.0":"2017-10-09T12:12:05.984Z"},"homepage":"https://github.com/HarasimowiczKamil/any-base#readme","keywords":["number","convert","base","alphabet","short number","long numbers","dec","hex","bin","oct","any"],"repository":{"type":"git","url":"git+https://github.com/HarasimowiczKamil/any-base.git"},"author":{"name":"Kamil Harasimowicz","email":"mifczu@gmail.com"},"bugs":{"url":"https://github.com/HarasimowiczKamil/any-base/issues"},"license":"MIT","readmeFilename":"README.md","users":{"nemolo":true}}