{"_id":"random-string","_rev":"24-aa2189568ccd582f15e1b1678b0db648","name":"random-string","description":"Simple Module for generating Random Strings","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"random-string","description":"Simple Module for generating Random Strings","version":"0.1.0","homepage":"https://github.com/valiton/node-random-string","author":{"name":"Valiton GmbH, Bastian 'hereandnow' Behrens","email":"bastian.behrens@valiton.com"},"repository":{"type":"git","url":"git://github.com/valiton/node-random-string.git"},"bugs":{"url":"https://github.com/valiton/node-random-string/issues"},"licenses":[{"type":"MIT","url":"https://github.com/valiton/node-random-string/blob/master/LICENSE-MIT"}],"main":"lib/random-string","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt-contrib-watch":"~0.4.3","grunt":"~0.4.1"},"keywords":["random","string"],"_id":"random-string@0.1.0","dist":{"shasum":"b897e89dde3bebbe5320d29b06a0c4f2a0527da0","tarball":"https://registry.npmjs.org/random-string/-/random-string-0.1.0.tgz","integrity":"sha512-9p1xV21iPJ8o+Dmg73Id20906y9ZiGmq6lfSZ5A4xOUsNQBpK436rQ+1llS/i6/idhm7Xs/IDpFbSEl51fizQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVjW1peK7vF8Rc40rCy5aXZ40RZE9cHh8OyvXD6LygVwIhANUzI7+QJ/I5ZZsiq8vnRcCRCHkUjNDUaOWtZhBEwDe4"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hereandnow","email":"hereandnow78@googlemail.com"},"maintainers":[{"name":"hereandnow","email":"hereandnow78@googlemail.com"}]},"0.1.1":{"name":"random-string","description":"Simple Module for generating Random Strings","version":"0.1.1","homepage":"https://github.com/valiton/node-random-string","author":{"name":"Valiton GmbH, Bastian 'hereandnow' Behrens","email":"bastian.behrens@valiton.com"},"repository":{"type":"git","url":"git://github.com/valiton/node-random-string.git"},"bugs":{"url":"https://github.com/valiton/node-random-string/issues"},"licenses":[{"type":"MIT","url":"https://github.com/valiton/node-random-string/blob/master/LICENSE-MIT"}],"main":"lib/random-string","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt-contrib-watch":"~0.4.3","grunt":"~0.4.1"},"keywords":["random","string"],"_id":"random-string@0.1.1","dist":{"shasum":"5f360e7302ebd123dc2358a978991ebe4d92b89d","tarball":"https://registry.npmjs.org/random-string/-/random-string-0.1.1.tgz","integrity":"sha512-AJKJlH73AhIAK/AarkMUOhCNswp6BGKiXqTffkyvJXdU3cdxrhpRdpNlhWcQHmOcmmWYT1gT3NLVwgEV7wR/OQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICaGugS9LzCZsR6X02S7sqjxA1lgWU+dX/oTb+807wsTAiEAvvwC9UswjHmYVygVxN2Kw7v9T1uG87xJkA9mAMygahQ="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hereandnow","email":"hereandnow78@googlemail.com"},"maintainers":[{"name":"hereandnow","email":"hereandnow78@googlemail.com"}]},"0.1.2":{"name":"random-string","description":"Simple Module for generating Random Strings","version":"0.1.2","homepage":"https://github.com/valiton/node-random-string","author":{"name":"Valiton GmbH, Bastian 'hereandnow' Behrens","email":"bastian.behrens@valiton.com"},"repository":{"type":"git","url":"git://github.com/valiton/node-random-string.git"},"bugs":{"url":"https://github.com/valiton/node-random-string/issues"},"licenses":[{"type":"MIT","url":"https://github.com/valiton/node-random-string/blob/master/LICENSE-MIT"}],"main":"lib/random-string","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt-contrib-watch":"~0.4.3","grunt":"~0.4.1"},"keywords":["random","string"],"gitHead":"917b7fb8811984f6bc341bfa0d2372b5959d5dd2","_id":"random-string@0.1.2","_shasum":"2d6afb6076651316ac5b8a62d63106db31eb8d44","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"hereandnow","email":"hereandnow78@googlemail.com"},"maintainers":[{"name":"hereandnow","email":"hereandnow78@googlemail.com"},{"name":"mom","email":"m.omay@mgok.de"},{"name":"weiner","email":"benediktweiner@gmail.com"},{"name":"sebakotiv","email":"gleb@catforce.de"},{"name":"mcpomm","email":"prima34@gmx.net"}],"dist":{"shasum":"2d6afb6076651316ac5b8a62d63106db31eb8d44","tarball":"https://registry.npmjs.org/random-string/-/random-string-0.1.2.tgz","integrity":"sha512-n/NdB0maeKoofDGtWjeWA1XtRj6Q396HCP2sKBBCcsyVVWdui+ltG6/rnOKvOzoo9Z4ze0Sy0wjm0BqfW/V+QA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4697TvA1hx/n1IROl63pOaEQFS8GqJ90INLpyxkxQYwIgPR6Y7DFyUU+l1XCwpjkqrJPsiQ3RxuedC0iXfb3utPw="}]}},"0.2.0":{"name":"random-string","description":"Simple Module for generating Random Strings","version":"0.2.0","homepage":"https://github.com/valiton/node-random-string","author":{"name":"Valiton GmbH, Bastian 'hereandnow' Behrens","email":"bastian.behrens@valiton.com"},"repository":{"type":"git","url":"git://github.com/valiton/node-random-string.git"},"bugs":{"url":"https://github.com/valiton/node-random-string/issues"},"licenses":[{"type":"MIT","url":"https://github.com/valiton/node-random-string/blob/master/LICENSE-MIT"}],"main":"lib/random-string","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt nodeunit"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt-contrib-watch":"~0.4.3","grunt":"~0.4.1"},"keywords":["random","string"],"gitHead":"bb252c31cb5298e82bf3549333dd5bee8c0bea11","_id":"random-string@0.2.0","_shasum":"a46e4375352beda9a0d7b0d19ed6d321ecd1d82d","_from":".","_npmVersion":"4.3.0","_nodeVersion":"4.6.0","_npmUser":{"name":"hereandnow","email":"hereandnow78@googlemail.com"},"dist":{"shasum":"a46e4375352beda9a0d7b0d19ed6d321ecd1d82d","tarball":"https://registry.npmjs.org/random-string/-/random-string-0.2.0.tgz","integrity":"sha512-isA91IquV3ZrFbvwkAtExP8aGL+csx3KGEsEJrvCidzOHioPl5B5g7WyJlk0lMkEz5/i1PqrWTvcdtJHPtrp1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdqSX7EYpWGDkpJ/S0gYpZPC+uFEa1t0MDCaSyHtKTzAiEAgrSCAmAU59bzvwtiv439LtSes66tyKNbJcAraqCgTE0="}]},"maintainers":[{"name":"hereandnow","email":"hereandnow78@googlemail.com"},{"name":"mom","email":"m.omay@mgok.de"},{"name":"weiner","email":"benediktweiner@gmail.com"},{"name":"sebakotiv","email":"gleb@catforce.de"},{"name":"mcpomm","email":"prima34@gmx.net"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/random-string-0.2.0.tgz_1491918540580_0.8696275688707829"}}},"readme":"# random-string\n\nSimple Module for generating Random Strings\n\n![random-string](https://api.travis-ci.org/valiton/node-random-string.png \"random-string\")\n\n## Getting Started\nInstall the module with: `npm install random-string`\n\n```javascript\nvar randomString = require('random-string');\nvar x = randomString(); // x contains now a random String with the length of 8\n```\n\n## Documentation\n\nYou can call the randomString-Method with additional options for specifing how long your resulting string should be and which characters to include\n\n```javascript\n// e.g. you want a string with a length of 20\nvar x = randomString({length: 20});\n```\n\n### options\n\n#### options.length\n\nnumber - the length of your resulting string (DEFAULT: 8)\n\n#### options.numeric\n\nboolean - should your resulting string contain numbers (from 0-9) (DEFAULT: true)\n\n#### options.letters\n\nboolean - should your resulting string contain letters (from a-z, lower and uppercase) (DEFAULT: true)\n\n#### options.special\n\nboolean - should your resulting string contain any of these special characters (!$%^&*()_+|~-=\\`{}[]:;<>?,./) (DEFAULT: false)\n\n#### options.exclude\n\narray - removes characters from resulting string\n*Note: Lowercase letters will not remove uppercase letters*\n\n\n## Examples\n\n```javascript\n// that would be a call with all options (hint: thats a call with all defaults, und the options wouldnt be necessary in that case!)\nvar x = randomString({\n  length: 8,\n  numeric: true,\n  letters: true,\n  special: false,\n  exclude: ['a', 'b', '1']\n});\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n\n## Release History\n\n- 0.2.0 introduce `exclude`-option\n\n- 0.1.2 fix characterset ([#2](https://github.com/valiton/node-random-string/issues/2))\n\n- 0.1.1 do not contain special cars per default\n\n- 0.1.0 Initial Release\n\n\n## Contributors\n\n- Bastian \"hereandnow\" Behrens\n- Baran \"bjskistad\" Skistad\n\n\n## License\nCopyright (c) 2013 Valiton GmbH\nLicensed under the MIT license.\n","maintainers":[{"name":"hereandnow","email":"hereandnow78@googlemail.com"},{"name":"mom","email":"m.omay@mgok.de"},{"name":"weiner","email":"benediktweiner@gmail.com"},{"name":"sebakotiv","email":"gleb@catforce.de"},{"name":"mcpomm","email":"prima34@gmx.net"}],"time":{"modified":"2022-06-25T11:44:34.255Z","created":"2013-05-16T10:09:57.070Z","0.1.0":"2013-05-16T10:10:00.961Z","0.1.1":"2013-05-16T11:08:44.775Z","0.1.2":"2014-12-09T10:58:15.073Z","0.2.0":"2017-04-11T13:49:01.102Z"},"author":{"name":"Valiton GmbH, Bastian 'hereandnow' Behrens","email":"bastian.behrens@valiton.com"},"repository":{"type":"git","url":"git://github.com/valiton/node-random-string.git"},"users":{"igorissen":true,"erikpmp":true,"clong365":true,"nanhualyq":true,"nukisman":true,"sasquatch":true,"akiva":true,"456wyc":true,"fabioricali":true},"homepage":"https://github.com/valiton/node-random-string","keywords":["random","string"],"bugs":{"url":"https://github.com/valiton/node-random-string/issues"},"readmeFilename":"README.md"}