{"_id":"human-readable-ids","_rev":"29-f42823de9b613839e5ccdffd2a62d09a","name":"human-readable-ids","description":"Generate human-readable ids from lists of easy-to-spell nouns and adjectives","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"human-readable-ids","version":"1.0.0","description":"Generate human-readable ids from lists of easy-to-spell nouns and adjectives","main":"index.js","dependencies":{"knuth-shuffle":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node tests/run-in-node.js","prepublish":"node src/generate-lists"},"repository":{"type":"git","url":"https://github.com/coolaj86/human-readable-ids-js.git"},"keywords":["hri","human","readable","ids","string","english","noun","adjective","nouns","adjectives"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.com/"},"license":"Apache2","bugs":{"url":"https://github.com/coolaj86/human-readable-ids-js/issues"},"homepage":"https://github.com/coolaj86/human-readable-ids-js","gitHead":"3f5b72b144f976f54a2a6fcf49d08c3e96dedcf7","_id":"human-readable-ids@1.0.0","_shasum":"a75488a7a101d540594a0f445b71ac7522bfd091","_from":"./","_npmVersion":"1.4.14","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"maintainers":[{"name":"coolaj86","email":"coolaj86@gmail.com"}],"dist":{"shasum":"a75488a7a101d540594a0f445b71ac7522bfd091","tarball":"https://registry.npmjs.org/human-readable-ids/-/human-readable-ids-1.0.0.tgz","integrity":"sha512-fB9eTaMJN3pmesLcjvUpsJ5WRnfGdaaLxirxYs6pyg4bPilDoXoJymTBS0KOGTpUf3Sp5UDS83/1Tyfs8uIuMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmZo+VhwwU2P+OJl8WSmtiNIToBiWaZGspQm2+M68gOgIhAJ5o1DyBOcXXdNsqnBGVOCPQCJIfLFTOFLKVv+nWB5Sa"}]},"directories":{}},"1.0.1":{"name":"human-readable-ids","version":"1.0.1","description":"Generate human-readable ids from lists of easy-to-spell nouns and adjectives","main":"index.js","dependencies":{"knuth-shuffle":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node tests/run-in-node.js","prepublish":"node src/generate-lists"},"repository":{"type":"git","url":"https://github.com/coolaj86/human-readable-ids-js.git"},"keywords":["hri","human","readable","ids","string","english","noun","adjective","nouns","adjectives"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.com/"},"license":"Apache2","bugs":{"url":"https://github.com/coolaj86/human-readable-ids-js/issues"},"homepage":"https://github.com/coolaj86/human-readable-ids-js","gitHead":"73d11a3ecdeefb2e5416f6da4706d3a65b458e27","_id":"human-readable-ids@1.0.1","_shasum":"0f4bb1d90c67fef810ae0b054cf92ae09e5e2d80","_from":"./","_npmVersion":"1.4.14","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"maintainers":[{"name":"coolaj86","email":"coolaj86@gmail.com"}],"dist":{"shasum":"0f4bb1d90c67fef810ae0b054cf92ae09e5e2d80","tarball":"https://registry.npmjs.org/human-readable-ids/-/human-readable-ids-1.0.1.tgz","integrity":"sha512-eaRrq2BtuurJDf7P8V1aLJwUBDujA83H7Co9VJ17osKYrcwDCoQWKSr9OsXRHNWdvSznSZoYuR+2dlT87AlGxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJRA4hh3EBmbSE0yAWxcbCzOANGIkDQh+BnxQpyTYxrAiEAriFYA+Gemeqv8Cm4XvDtn+zq4hdEfSaZlOBOiqmyDTw="}]},"directories":{}},"1.0.2":{"name":"human-readable-ids","version":"1.0.2","description":"Generate human-readable ids from lists of easy-to-spell nouns and adjectives","main":"index.js","dependencies":{"knuth-shuffle":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node tests/run-in-node.js","prepublish":"node src/generate-lists"},"repository":{"type":"git","url":"git+https://git.daplie.com/Daplie/human-readable-ids-js.git"},"keywords":["hri","human","readable","ids","string","english","noun","adjective","nouns","adjectives"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"Apache2","bugs":{"url":"https://git.daplie.com/Daplie/human-readable-ids-js/issues"},"homepage":"https://git.daplie.com/Daplie/human-readable-ids-js#readme","gitHead":"3b5f24e02e36e780ecddde068094b6b63a852e99","_id":"human-readable-ids@1.0.2","_shasum":"a597481c5a948918a8b3e63fb03801048b40be31","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.4.0","_npmUser":{"name":"drewwarrentiy","email":"drewwarrentiy@gmail.com"},"dist":{"shasum":"a597481c5a948918a8b3e63fb03801048b40be31","tarball":"https://registry.npmjs.org/human-readable-ids/-/human-readable-ids-1.0.2.tgz","integrity":"sha512-EGL6reWJ0KH7GaIVEKt1xSI3U1IKok1FHq36O1WxmIS+cY4Bnz6W3UWHYNqmpf4TKUKwBNTRCg/OIKf90OqYjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1UBe7H48YnJ3b4vxeirRia31zyK7R6M7pO9Wsvm0xxAiEAy1hg8hLMeZp8ZfBnjZjxzY8/L5nfg6TimU3B9zsPsO0="}]},"maintainers":[{"email":"coolaj86@gmail.com","name":"coolaj86"},{"email":"insightful_schmidt@yahoo.com.au","name":"insightfuls"},{"email":"jim.hager@daplie.com","name":"jimh"},{"email":"tim@creationix.com","name":"creationix"},{"email":"slgibelyou@gmail.com","name":"tigerbot"},{"email":"drewwarrentiy@gmail.com","name":"drewwarrentiy"},{"email":"npm@daplie.com","name":"daplieinc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-readable-ids-1.0.2.tgz_1499709297697_0.22409450495615602"},"directories":{}},"1.0.3":{"name":"human-readable-ids","version":"1.0.3","description":"Generate human-readable ids from lists of easy-to-spell nouns and adjectives","main":"index.js","dependencies":{"knuth-shuffle":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node tests/run-in-node.js","prepublish":"node src/generate-lists"},"repository":{"type":"git","url":"https://git.daplie.com/Daplie/human-readable-ids-js.git"},"keywords":["hri","human","readable","ids","string","english","noun","adjective","nouns","adjectives"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"Apache2","bugs":{"url":"https://git.daplie.com/Daplie/human-readable-ids-js/issues"},"homepage":"https://git.daplie.com/Daplie/human-readable-ids-js#readme","gitHead":"dca721f8ac642eb7c5ae28238331577ada437ed0","_id":"human-readable-ids@1.0.3","_shasum":"c8c6c6e95085ccb668087b7dd767834e26ca26d4","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.4.0","_npmUser":{"name":"drewwarrentiy","email":"drewwarrentiy@gmail.com"},"dist":{"shasum":"c8c6c6e95085ccb668087b7dd767834e26ca26d4","tarball":"https://registry.npmjs.org/human-readable-ids/-/human-readable-ids-1.0.3.tgz","integrity":"sha512-WpnRwUDkMDHDvF1O+lrmLMsSrPT0SFJsES4QZ1s45xP/3B7ZrJ6WQB690P+ZeBIm0Nfw3ZiWWxY02MYMPrUSZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJgyR2YWYfZzcxjfYb1KjBQJ4MjkEj/3luSvD6iXPepgIhAJszDU1RoOiai1jzzdqTVuBkC7RFIBYilngFCxeAdszh"}]},"maintainers":[{"email":"coolaj86@gmail.com","name":"coolaj86"},{"email":"insightful_schmidt@yahoo.com.au","name":"insightfuls"},{"email":"jim.hager@daplie.com","name":"jimh"},{"email":"tim@creationix.com","name":"creationix"},{"email":"slgibelyou@gmail.com","name":"tigerbot"},{"email":"drewwarrentiy@gmail.com","name":"drewwarrentiy"},{"email":"npm@daplie.com","name":"daplieinc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-readable-ids-1.0.3.tgz_1499709450967_0.7095640467014164"},"directories":{}},"1.0.4":{"name":"human-readable-ids","version":"1.0.4","description":"Generate human-readable ids from lists of easy-to-spell nouns and adjectives","main":"index.js","dependencies":{"knuth-shuffle":"^1.0.0"},"devDependencies":{},"scripts":{"test":"node tests/run-in-node.js","prepublish":"node src/generate-lists"},"repository":{"type":"git","url":"https://git.coolaj86.com/coolaj86/human-readable-ids.js.git"},"keywords":["hri","human","readable","ids","string","english","noun","adjective","nouns","adjectives"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"license":"Apache2","bugs":{"url":"https://git.coolaj86.com/coolaj86/human-readable-ids.js/issues"},"homepage":"https://git.coolaj86.com/coolaj86/human-readable-ids.js#readme","gitHead":"6daa62689da2ff736def6f89d9e0b654a246d0d6","_id":"human-readable-ids@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"integrity":"sha512-h1zwThTims8A/SpqFGWyTx+jG1+WRMJaEeZgbtPGrIpj2AZjsOgy8Y+iNzJ0yAyN669Q6F02EK66WMWcst+2FA==","shasum":"41b3a2a6966636e104e41e0673b984b36dfde202","tarball":"https://registry.npmjs.org/human-readable-ids/-/human-readable-ids-1.0.4.tgz","fileCount":14,"unpackedSize":23002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEQrkCRA9TVsSAnZWagAAiTMP/2eTQBZMyNKM4DUs9ebO\nXY3+vy+U7kth/EhrpSi1KUen61lsT/lWOuhgonlUMo+WWGNgEGJM6co0ClFa\nby7b7w4Mg2Y6Yfz6RfFkTNLHxZb8l2DgGEqFbq0w4MnXEXQd1QZjxLUzNpIj\niXCr99lIReSeM3ylRQ+1i+NFeQ1rxTkAhNOgcFxnk719GZvfyhm00+ZYxtnh\nuE+8Fp+28TckvXuh1s4BjoLbNe6s2Rg/apAGThDGYKJbQrhpYJ18ZYO8GopL\nJGGPZhJUrfdwQX0e6YAc6lM3w9V9jVsaGCafdSg5Q93W6MLzXmOJtcoWTxIz\nf6C819I2jPJ7xi+Tf9PaxCMeQFqvu3dU/QGccRYrmY1rGlOaGmXe3XplWUUo\nYidgSuuBSDsN2WA/fNB54J0UkrqvoOme12pBgf9u1sO3fUmiCsbg/pD79Ifn\nzh87jQH36vUAd+R76Hso0gbtcSgNC34++wbPhSrj/8gF/FmYQiW6MMQpbolg\nZfCUdL+3Um13Ci5JiH0UZd2fyc83qXrOjA+ggxsl2WuRdSqeVijKAY6brtCg\n/HTTHOI5LYzzE2bdsKBiPhxcxQB+G4N39I1jg3B72ea+l5Y36bdHNE7/71bP\nbIJJGcc+GMgSFeQTAlQkzq1/74nkAetEF6bltFsMW5NebYNWeAj/RFejK1i5\nFMtW\r\n=Ud2n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLNynbpPPfUCUc2Xic6cb6e5Tb2EeGtiPmQDSiJ4P3UgIgI9kaPr+HbpAN/1viYMWwcK3Hxd2zk8MtMNCb2fZD37w="}]},"maintainers":[{"email":"coolaj86@gmail.com","name":"coolaj86"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-readable-ids_1.0.4_1527843554749_0.9597034552791794"},"_hasShrinkwrap":false}},"readme":"human-readable-ids-js\n=====================\n\nUse JavaScript to generate human-readable ids from a lists of nouns and adjectives.\n\nGenerate ids in the format of `adjective-noun-#` such as\n\n* silly-goose-37\n* quick-cobra-15\n* tricky-chicken-23\n* brave-ladybug-90\n\nMy problem is that I often want ids that I can type without having to\nlook at twice (nor telling someone else twice).\n\nI should be able to shout one of these ids across the room to a co-worker\nor spouse and have them be able to enter it without any confusion.\n\nCurrently the id space is about 1,000,000 ids (100 * 100 * 100).\n\nThe goal is to have several billion possible combinations by adding\nmore words as well as expanding the ids to have verbs and adverbs.\n\nFor a larger address space now, consider:\n\n  * Human Readable IDs for Node.js and Browser: <https://github.com/linus/greg/>\n  * Human Readable IDs for Java: <https://github.com/PerWiklander/IdentifierSentence>\n  * Human Readable IDs for Python: <https://gist.github.com/4447660>\n\nAll of these also have the benefit of bi-directional conversion, but not all of them\nhave words which are easy to pronounce and spell.\n\nUsage\n=======\n\n### npm\n\n```bash\n# from npm\nnpm install --save human-readable-ids\n```\n\n```bash\n# directly from git\nnpm install --save https://git.coolaj86.com/coolaj86/human-readable-ids.js.git\n```\n\n```javascript\n'use strict';\n\nvar hri = require('human-readable-ids').hri;\nvar i;\n\n// generate 100 random ids\nfor (i = 0; i < 100; i += 1) {\n  console.log(hri.random());\n}\n```\n\n### bower / browser\n\n```\nbower install --save human-readable-ids\n```\n\n```html\n    <script src=\"bower_components/knuth-shuffle/index.js\"></script>\n    <script src=\"bower_components/human-readable-ids/assets/animals.js\"></script>\n    <script src=\"bower_components/human-readable-ids/assets/adjectives.js\"></script>\n    <script src=\"bower_components/human-readable-ids/index.js\"></script>\n```\n\n```javascript\n;(function (exports) {\n  'use strict';\n\n  var hri = exports.humanReadableIds || require('human-readable-ids').hri;\n  var i;\n\n  for (i = 0; i < 100; i += 1) {\n    console.log(hri.random());\n  }\n}('undefined' !== typeof exports && exports || new Function('return this')()));\n```\n\nContributing\n============\n\nPlease add more words that fit these criteria\n\n  * Easy-to-spell - such that even my redneck dad can manage\n  * Phonetically distinct - no words like bore/boar\n  * Few syllables\n  * Well-known\n\nAll of the words are sorted alphabetically (`sort -u`) and stored in\nthe `*.txt` files.\nThe pre-publish script outputs the formatted javascript.\n\n### Bad Examples\n\n  * wednesday, hamster, ostrich (difficult to spell)\n  * grey, gray, bore, boar (two ways of spelling the same word or sound)\n  * prawn (not well-known)\n\nResources\n=========\n\nAdd more words and strategies from\n\n  * <http://blog.asana.com/2011/09/6-sad-squid-snuggle-softly/>\n  * The Dolch List <http://www.mrsperkins.com/dolch-words-all.html>\n  * <http://simple.wikipedia.org/wiki/Wikipedia:Basic_English_alphabetical_wordlist>\n  * <https://github.com/zacharyvoase/humanhash>\n  * <https://gist.github.com/ucnv/1121015>\n  * <https://gist.github.com/vikhyat/105610>\n  * <http://simple.wikipedia.org/wiki/Wikipedia:List_of_1000_basic_words>\n  * <http://grammar.yourdictionary.com/parts-of-speech/adverbs/list-of-100-adverbs.html>\n\nTODO\n====\n\nAcheive 1 trillion ids with a combination such as\n\n`number adjective noun verb adverb`\n\n`42-red-foxes-run-quickly`\n\nAnd allow choosing various formats based on the desired\nnumber of ids.\n\n  * `adjective noun number`\n  * `number adjective noun verb`\n","maintainers":[{"email":"coolaj86@gmail.com","name":"coolaj86"}],"time":{"modified":"2022-06-18T23:09:42.480Z","created":"2014-07-21T15:06:56.592Z","1.0.0":"2014-07-21T15:06:56.592Z","1.0.1":"2014-07-21T15:29:02.071Z","1.0.2":"2017-07-10T17:54:57.832Z","1.0.3":"2017-07-10T17:57:31.105Z","1.0.4":"2018-06-01T08:59:14.882Z"},"homepage":"https://git.coolaj86.com/coolaj86/human-readable-ids.js#readme","keywords":["hri","human","readable","ids","string","english","noun","adjective","nouns","adjectives"],"repository":{"type":"git","url":"https://git.coolaj86.com/coolaj86/human-readable-ids.js.git"},"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com/"},"bugs":{"url":"https://git.coolaj86.com/coolaj86/human-readable-ids.js/issues"},"license":"Apache2","readmeFilename":"README.md","users":{"djensen47":true,"mmis1000":true}}