{"_id":"@andyburke/easyid","_rev":"3-f66ef1be6a01d46331ea658843335c91","name":"@andyburke/easyid","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"name":"@andyburke/easyid","version":"1.0.1","description":"A configurable, easy short id generator for humans.","main":"index.js","scripts":{"test":"tape test/**/*.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/andyburke/easyid.git"},"keywords":["id","short"],"author":{"name":"Andy Burke","email":"andy.burke@mailbox.earth"},"license":"MIT","bugs":{"url":"https://github.com/andyburke/easyid/issues"},"homepage":"https://github.com/andyburke/easyid#readme","dependencies":{"extend":"^3.0.2","tap-spec":"^5.0.0","tape":"^4.11.0"},"gitHead":"57648737d998c3eb87667065808f24f58b8fd08a","_id":"@andyburke/easyid@1.0.1","_nodeVersion":"10.15.3","_npmVersion":"6.10.3","dist":{"integrity":"sha512-GiAiwo6C880K+fQw+L4sf6+25+s7U67rL3KZgFr9BCLWpcBD7Wct0AkHUJbfa4Aq83tvu6tufhfWb0EsmpsGPg==","shasum":"73e34f457a2b5a09744682c027904f8714adc90b","tarball":"https://registry.npmjs.org/@andyburke/easyid/-/easyid-1.0.1.tgz","fileCount":5,"unpackedSize":6602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZwdpCRA9TVsSAnZWagAAxb0P+wRHTTWKBkgaQISrm97Y\nVdp2bx5Wb43OjUdzwSjuq+4JIfnk8Vkfzad6KcpiHksPvOBlGM51CVjB0CWp\nEQgfIm6p5wcb1wsUWY9B6KQYpREfAX4J3IfCEHQpnmNZ3dTRAzvBtx55SU3b\nTYqbY/U5KyssngnVXkSwjodBSs/51Z19pvGVF2r4ewSpGoLs09JHas0rYt6N\nVtoL3y/1h3CRFgAH39UmlieI86pylusq91oBIT+suoQvPorbsakBj50Pl0BO\nyCf0+UmwJgI2HE4TjhB0sY+jw37fvD7TW3GGUizMhOVdgEH8oNZCrejLezu7\n5D6FIE5gJ/u6QgnN+vaTDF4/k118t2imsXjnBepxOTQHQydhSaEaDm4hLdET\nDrKBkNGOclL1c1l4KS5G9tMTi20BzNpobAygyx764Hp6p5h7rIfHxw3tH6xt\neyiay0qgeu4GrTznK/71lYnXeODK+HJFupPvKUkmQQMDzBpa7bZPFYogHzFe\nk6aqUU/PmHbJ8ZrR3MCuFlIqhekYjcyLzXkKodwjnjWOd4cz5IDEYCrufp6m\npDgef+lmUdsmC6vn8RSdXJqYxlECiDNTwcRLdxglZqeGaFU8tH12zH1PArpW\n1HUJbZgukJxdu6mgTd73ESl233QLatR+54O6VF67OLRHvK+VNZzLJRRM6oja\nd2Gb\r\n=FWeu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1odfuzo5B+YuCZgcFF98NFas5QDtKgg6xfN3xvuC/4gIgNBG6r1J26BgoV97dm7aNsREpFlnyQU9CTrqtZNjQJPM="}]},"maintainers":[{"name":"andyburke","email":"andy.burke@mailbox.earth"}],"_npmUser":{"name":"andyburke","email":"andy.burke@mailbox.earth"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easyid_1.0.1_1567033192439_0.26024995590394995"},"_hasShrinkwrap":false},"1.0.2":{"name":"@andyburke/easyid","version":"1.0.2","description":"A configurable, easy short id generator for humans.","main":"index.js","scripts":{"test":"tape test/**/*.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/andyburke/easyid.git"},"keywords":["id","short"],"author":{"name":"Andy Burke","email":"andy.burke@mailbox.earth"},"license":"MIT","bugs":{"url":"https://github.com/andyburke/easyid/issues"},"homepage":"https://github.com/andyburke/easyid#readme","dependencies":{"extend":"^3.0.2","tap-spec":"^5.0.0","tape":"^5.0.1"},"gitHead":"156e6ee1d38c33e5e2bab2e44e338db37f22fcb0","_id":"@andyburke/easyid@1.0.2","_nodeVersion":"14.5.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-oeeWi1b415XCHDjrfA8WGAgZFCC9QZ+L+P+UiZGirdww5S1FNLVju01ypLW81nszenrhNfWjdBbqu2+M6S/g7g==","shasum":"90e208a14743d912486a681879d8e4e974c51521","tarball":"https://registry.npmjs.org/@andyburke/easyid/-/easyid-1.0.2.tgz","fileCount":5,"unpackedSize":6601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCAS6CRA9TVsSAnZWagAAvtAQAJmWX4Kk5/zMZ160dppd\nYEOXdwryvju2/mxLygKjqGl323NU/nOofoPB7satVXv1khqwcAvIP5wSR0s+\ns4pCyj/uJSQafWFPr8CGZ5zlwxZ2P1YRlLSxLFqGvHln4M80zanVSbe1ZAyg\nIBbZbUoj60w1c4D5zUuOJ8pKLF5ORRiBu4fUUgGv7aFvPmYvNDnT0sickDy4\nqmoOdrRTT0VdD4Y2b0MI+7q5wQuJ1jYuV/EG/dvvMRz1/xd33Ow9icFP0iXu\nnImbI/zmT6SEP4Xp2bRZJlbWGKAZpR+4jDn4O0FIY4lCasFteJzOhDGKzeo8\n6Sahum0BHxN9IOykDqPBZyMCMSbNcGND5YD6NWXOB+BjwSWQfJ1wu54fdfex\nWMhBsEq5q/L+iK/2KGavtmQcvOY3iEt8A7udu3/t7kcCuVWH0frB5Im0iIEu\nDMb8ziXurgtumlrFb66+M37sQwXW6XNjsHF0WXvCl5byRTwcK6WFm+ULsIqP\n/OWvdn72mVwiTLxOC2GLbc+GZRxPry7ch6V5p7rqtLNG6YPqs273vY9sQFlv\nlV0bm4i8v4GYf7tt4aHIFkdBGQC84pgrV0bqRXZPz1SovW1VNThNLwEaNsPE\nReSmvE0dlGYs5L6G5HoEyiIr9wg2F/IgL5+NljRp/91YxW6p+OfW1y88WCgq\nMQ18\r\n=OSBs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAgaVX56NpIqe257LyAg+SUOV5uxIE5IFyDsrytRu3avAiBXTO5r/RM/eyJyuLkVLM9jZdCAFVy+zGCRyxgLIgvp2w=="}]},"maintainers":[{"name":"andyburke","email":"andy.burke@mailbox.earth"}],"_npmUser":{"name":"andyburke","email":"andy.burke@mailbox.earth"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easyid_1.0.2_1594361017693_0.17719401546481928"},"_hasShrinkwrap":false},"1.0.3":{"name":"@andyburke/easyid","version":"1.0.3","description":"A configurable, easy short id generator for humans.","main":"index.js","scripts":{"test":"tape test/**/*.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/andyburke/easyid.git"},"keywords":["id","short"],"author":{"name":"Andy Burke","email":"andy.burke@mailbox.earth"},"license":"MIT","bugs":{"url":"https://github.com/andyburke/easyid/issues"},"homepage":"https://github.com/andyburke/easyid#readme","dependencies":{},"devDependencies":{"eslint":"^7.9.0","tap-spec":"^5.0.0","tape":"^5.0.1"},"gitHead":"ad8bcd05109d37127bfebfdd0fcbfb90bb47e9b2","_id":"@andyburke/easyid@1.0.3","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-vMTGnnG9LEZK2r/5BxKapbKyGIk/pMnb+t3OIy7j+w9HZjrNSod/D8bzS8/4wv9eEXzq9CJqeAhEZo4TgR5kyw==","shasum":"078eafaf5af96ac8365ccae3f3138d40d60b3a2f","tarball":"https://registry.npmjs.org/@andyburke/easyid/-/easyid-1.0.3.tgz","fileCount":5,"unpackedSize":6545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYB2xCRA9TVsSAnZWagAAT9QP+gL/3NFY1QiXupQaTamn\npKDZd382oRKX0HMruesjtCidA+8osjyWeFO387ZRa4Ir3ldCu4QaG9QaEiR/\nw91txSGYHJuUN1/yfJgVYUH7wIXXq/3cJ0DNS97PyVNnrwg56qUeJ01SlmME\nOKupmfAKDSo0e/QCdmA6l8+Q9h0MURHrqfy7sz9UzZy0iKV0lsU5thIFaTce\nHKMD5g7AoRW4lzznni3LfCir6uGs8dQzMY3KfLQ8+eZoMALiWWqUMKSLjJEn\ndkCRRsDihcIjukXIz3kLOQBhUXVm6pxM+CLNT65hedO+uVHEH5k8T7PJ0p/y\npSePu7C/ChXbKKg51Smxoy6vdAGZrgaziMMbfJleaiU/F5CGFeNMm/XgP2VJ\nrLHoDWXD1qYDcoFTn1IBroIVSsfi5B33SBYmjwErzSHeDvZ5w3MEeKxDm82n\nhHYWW7n5ukUcfvnL6nMCCBW1FBoGUR4bWMrkujG2BfpVtfx8dxQcnt6MrfAa\nmqZYDPZ5FKS1eQab4YZZY9mz9E42lz2PRy9xWpT0Ytb2LgbXQPxtaJbxt7th\nycQngOgNmX4dZ0M9ozlTDoyhVzSq1sF/Cfy0GaGCRuTzTaog+s9Wm0apYt39\naTLPD9iacenjedCbfNxH4/g+I6LMvRGgqU2WWeFBuN4FpvlWDKmNvLw0kaWP\nFZIv\r\n=ASkj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv/iupYwYfbj4Al7HwUvfwFO3V2O4JDtGsM4saue8zLgIgPIJSUztK+7zJQtdL4/J/zhk4eq5vKa4qAgdt3tH9Kho="}]},"maintainers":[{"name":"andyburke","email":"andy.burke@mailbox.earth"}],"_npmUser":{"name":"andyburke","email":"andy.burke@mailbox.earth"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easyid_1.0.3_1600134577176_0.5646886650035381"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-28T22:59:52.232Z","1.0.1":"2019-08-28T22:59:52.571Z","modified":"2022-04-04T14:04:36.361Z","1.0.2":"2020-07-10T06:03:37.817Z","1.0.3":"2020-09-15T01:49:37.371Z"},"maintainers":[{"name":"andyburke","email":"andy.burke@mailbox.earth"}],"description":"A configurable, easy short id generator for humans.","homepage":"https://github.com/andyburke/easyid#readme","keywords":["id","short"],"repository":{"type":"git","url":"git+https://github.com/andyburke/easyid.git"},"author":{"name":"Andy Burke","email":"andy.burke@mailbox.earth"},"bugs":{"url":"https://github.com/andyburke/easyid/issues"},"license":"MIT","readme":"\n# easyid\n\nA configurable, easy short id generator for humans.\n\n## Examples\n\n```javascript\nconst easyid = require( 'easyid' );\n\nconsole.log( easyid.generate() );\n// outputs: Q8Y-521-7TW\n\nconsole.log( easyid.generate( {\n    groups: 4\n} ) );\n// outputs: MV0-2KG-YB2-GQA\n\nconsole.log( easyid.generate( {\n    length: 5\n} ) );\n// outputs: 3672P-68JF9-JJ751\n\nconsole.log( easyid.generate( {\n    separator: '/'\n} ) );\n// outputs: XFZ/5EC/P6U\n\nconsole.log( easyid.generate( {\n    alphabet: '0123456789'\n} ) );\n// outputs: 342-707-758\n```\n\n## About\n\neasyid generates random, human readable ids that are useful for things like two factor authentication. The default alphabet avoids\npotentially confusing characters, for instance for reading over the phone or avoiding confusion between L, l and 1.\n\nYou can specify the length and number of groups, the group separator and the alphabet.\n\nYour address space and collision chance is determined by the total length of your id and the size of the alphabet.\n\n## Options\n\n### length (number, default: 3)\n\nThe length of each group.\n\n### groups (number, default: 3)\n\nThe number of groups.\n\n### separator (string, default: '-')\n\nThe separator character between groups.\n\n### alphabet (string, default: '0123456789ABCDEFGHJKMNPQRTUVWXYZ')\n\nThe alphabet to randomly select characters from.\n\n## License\n\nThe MIT License (MIT)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","readmeFilename":"README.md"}