{"_id":"random-key","_rev":"34-6630af4031763896e85ee0396d4f5639","name":"random-key","description":"Generating random strings (cryptographically strong) for NodeJS","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.0":{"name":"random-key","version":"0.1.0","description":"Generating random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{"coffee-script":"1.7.1"},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"devDependencies":{"coffee-script":"^1.7.1"},"_id":"random-key@0.1.0","_shasum":"a3cee59e08518e5b60df68071868410713645841","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"a3cee59e08518e5b60df68071868410713645841","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.1.0.tgz","integrity":"sha512-DUlLz1ikFAGZHvmVYKE/ts+BojzLo4yLiBG1ekaSbTLdVvVlaRqs54nG5Pn5XM8ybyYNBVlwb9Y7c35dL8faxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcwjdFzpdwxI+pOY77p9dsedEq6abODf5aGgYmDPls0QIhANGRuy269/HWdp1K5ImZwOH6WHiglmMhABYXf/HLJhlI"}]},"directories":{}},"0.1.1":{"name":"random-key","version":"0.1.1","description":"Generating random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{"coffee-script":"1.7.1"},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"devDependencies":{"coffee-script":"^1.7.1"},"_id":"random-key@0.1.1","_shasum":"c13e8078c74461351a4ab3f4e8fd4c1ffafe0351","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"c13e8078c74461351a4ab3f4e8fd4c1ffafe0351","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.1.1.tgz","integrity":"sha512-sdQtP+3MWjajQAvQmHsuTKsbJFhMJjKamJ0Y5zOFyE/9mDy7oMcdiAZ4vQCRlpw4h1XfP6x4EwdXNXFQe11eWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSu3ZoI3qX9cKkhPns2luZVywpK6ix+i9+4eXZI5cfHAiBUl5eer2tsxRXfStzcdA/7xx6kCLXkBMJzAmmhkqQkUA=="}]},"directories":{}},"0.1.2":{"name":"random-key","version":"0.1.2","description":"Generating random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{"coffee-script":"1.7.1"},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"devDependencies":{"coffee-script":"^1.7.1"},"_id":"random-key@0.1.2","_shasum":"76f452435821f1b6e55777b71ea56a6726739db8","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"76f452435821f1b6e55777b71ea56a6726739db8","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.1.2.tgz","integrity":"sha512-UHxHnPFFF3OE5ujoBAYBIl7FupMMIFvl7ASdmHIpLAPYIJ4a7Q77u4cRM8Qn7ori0zRMF5J+CFqNVpPhfdjRgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHBfQTYHsLgRrr6wY3VRQuPAhb0tT0bLujtjHfnFCROWAiEAtTtHzqkjW/+sAumIBFcEpIyClhTNKL6VFFGco8vKoko="}]},"directories":{}},"0.1.3":{"name":"random-key","version":"0.1.3","description":"Generating random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{"coffee-script":"1.7.1"},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"_id":"random-key@0.1.3","_shasum":"21b883d96e3aa8f0ba053258b75cb977b8180249","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"21b883d96e3aa8f0ba053258b75cb977b8180249","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.1.3.tgz","integrity":"sha512-w5BK6rkG7OZts5fuK5Krnihg+4Zft3s1H2XRTrktml0d1VwgaPw+uZDpL8/C7GmYNaPRbZ4d3c3Rjw8SlZUb4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEsxQ6n9t5+2lISHacotIB9EM6VjUoqOqqipQGHgaqUjAiAq02JXPlqvD70Ulw1C0xAW2cZSdDmA/Mj6l6KZc+Z87w=="}]},"directories":{}},"0.1.6":{"name":"random-key","version":"0.1.6","description":"Generating random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{"coffee-script":"1.7.1"},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"_id":"random-key@0.1.6","_shasum":"edf907de8eb39435955db490b4b16d16ebabfe85","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"edf907de8eb39435955db490b4b16d16ebabfe85","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.1.6.tgz","integrity":"sha512-GLiIB2DrWVMLcfFpDjLOlcae0gUT0NZP9bXmM2GIUjHQXzPx4OARzDDG+Wv6vP13G63s3j1SVpOzVH5iSpvitQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPtduxPC0HsqFVfOHxN73dz5aBAc4YUMiMLzHejttzsAIgQijgK+IXp5Qvesd7+qSuB5zsauAAFB4GqeUWYbRd2tY="}]},"directories":{}},"0.2.0":{"name":"random-key","version":"0.2.0","description":"Generating random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"_id":"random-key@0.2.0","_shasum":"243c23156aab78b7d9b459131858b0d0dd3f39ec","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"243c23156aab78b7d9b459131858b0d0dd3f39ec","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.2.0.tgz","integrity":"sha512-EVQp3Wss+xmrfIHweJmUQHIJdSKa7lRT2UY4kN4+66CTcsv6ecjZ5k//Mh3/v0fHhPLJGpeHzKvpG4i9qzUwdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClpkZgzRP0iSMpScYG3BkBHyujx4jaYeQPHGUs6+Q42QIhAKqlp6ThYpvUnCfHmsVafs6hyhDxEo1aNbh6mSDE3lDK"}]},"directories":{}},"0.2.1":{"name":"random-key","version":"0.2.1","description":"Generating random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"_id":"random-key@0.2.1","_shasum":"d80996e693c792c64b261339b339215425759d29","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"d80996e693c792c64b261339b339215425759d29","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.2.1.tgz","integrity":"sha512-i08PuD5mcUNP5wHstsI0bBh0skcdCCF7ToMtq6CVePZdHKhAsReye2vuFrQD8ADZjzS4MGDyEql2O7BR/FGlgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4mAhMRzmDlvy3y0+2bW1UyJ47y2ZXQ4GxdF7GK3mE2wIgJf3Czu5XMByEqsueUCG/2gsjuIWPL6Niad0q89+COf0="}]},"directories":{}},"0.3.0":{"name":"random-key","version":"0.3.0","description":"Generating cryptographically strong pseudo-random strings for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"_id":"random-key@0.3.0","_shasum":"e04b865d430e1cd3785b62777ccb25c1ad482322","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"e04b865d430e1cd3785b62777ccb25c1ad482322","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.3.0.tgz","integrity":"sha512-4Iy78oQ7lOrXBYIrXTP2/dQ+VVU41rThWdOB5SRIk+LWag2KnlN0uEmbuqBW29rAdd72Whhh4Z0XD6aylgqSMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz/RufEYXDjK4YEA+NxR9v69BJskVJEBPsznFLj1nM8gIhAMsv682Zfvz9GqnxRKlf2iHmBFD5As66RXYWWPA35Ht1"}]},"directories":{}},"0.3.1":{"name":"random-key","version":"0.3.1","description":"Generating random strings (cryptographically strong) for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"_id":"random-key@0.3.1","_shasum":"c9407b29d296204b39d2e35d3bfb3cbb55b95a57","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"c9407b29d296204b39d2e35d3bfb3cbb55b95a57","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.3.1.tgz","integrity":"sha512-oAc1cMddX3geuZhw1F0VlcKAS7/sQJ6zfkf4WfRmS2/Mv4hZ3obvBYTwL4YPjqABgJRjeLbRJlWkqvGJ9iTQVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERYKkktPinYkiCO/wqHVOE1xQ/l65aehMj0I4mMtGzXAiEA5Hf96YGmwId93F4orhqa2Rw8/3rKREOBgsV+UkUzCgk="}]},"directories":{}},"0.3.2":{"name":"random-key","version":"0.3.2","description":"Generating random strings (cryptographically strong) for NodeJS","main":"index.js","repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"dependencies":{},"author":{"name":"yanxi"},"license":"BSD","bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["random","base62","base30","human-key"],"_id":"random-key@0.3.2","_shasum":"a2c52a1dc13bdbf598f566efdcd9cb8897c7d933","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"yanxi","email":"blogbbs@gmail.com"},"maintainers":[{"name":"yanxi","email":"blogbbs@gmail.com"}],"dist":{"shasum":"a2c52a1dc13bdbf598f566efdcd9cb8897c7d933","tarball":"https://registry.npmjs.org/random-key/-/random-key-0.3.2.tgz","integrity":"sha512-ou1tm7EftBXVX/UI6Hb9ffsC3aAdpsyq14Ht6PGm/NGzFMtuFQUmiDLAwcAM2Ev3ggI4u9kRZ7caXLe68aLaeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjsU0liJJrLwlhEGdHM6BeigXN0jEoBnh0ev4TJHBpWwIgD+IY+TkyewQWXLQI5lQY8/+DcdIvGF9CLmUW7GmjjOg="}]},"directories":{}}},"readme":"# nodejs-random-key\n\n## Installation\n\n    $ npm install random-key\n\n## API\n### generate([len], [keys])\nGenerate cryptographically strong pseudo-random string, with given length.\n* len: the length of the generated string, default is 16\n* keys: optional keys, default is base62, including: 0-9, a-z, A-Z\n\n### generateDigits([len])\nGenerate random digits, with given length. optional keys: 0-9\n* len: the length of the generated string, default is 16\n\n### generateBase30([len])\nGenerate random string that is easy to read by human, with given length.\n\noptional keys: 1-9, A-Z exclude(E, G, I, J, O) for human read\n* len: the length of the generated string, default is 16\n\n## Usage for JS\n\n```javascript\nvar rand = require(\"random-key\");\n\nrand.generate(); // => eg: wexO23UXGezfTKHc\n\nrand.generate(7); // => TShNQGc\n\nrand.generateDigits(5);  // => 08297\n\nrand.generateBase30(5);  // => K5UJ1\n```\n\n## LICENSE\n\nnodejs-random-string is licensed under the BSD license.\n","maintainers":[{"email":"yanxi@live.com","name":"yanxi123"},{"email":"blogbbs@gmail.com","name":"yanxi-me"}],"time":{"modified":"2023-10-26T08:26:01.075Z","created":"2014-07-19T10:48:56.967Z","0.1.0":"2014-07-19T10:48:56.967Z","0.1.1":"2014-07-19T10:51:10.789Z","0.1.2":"2014-07-19T10:53:15.003Z","0.1.3":"2014-07-19T15:37:22.460Z","0.1.6":"2014-07-19T15:51:36.152Z","0.2.0":"2014-07-20T02:40:19.114Z","0.2.1":"2014-07-20T02:54:01.387Z","0.3.0":"2014-12-22T16:04:00.250Z","0.3.1":"2014-12-22T16:09:24.900Z","0.3.2":"2014-12-29T09:18:41.931Z"},"homepage":"https://github.com/yanxi-com/nodejs-random-key","keywords":["random","base62","base30","human-key"],"repository":{"url":"https://github.com/yanxi-com/nodejs-random-key.git","type":"git"},"author":{"name":"yanxi"},"bugs":{"url":"https://github.com/yanxi-com/nodejs-random-key/issues"},"license":"BSD","readmeFilename":"README.md","users":{"yanxi":true,"shieldax":true,"stany":true,"flockonus":true,"ubuntu.noads":true,"sasquatch":true}}