{"_id":"unique-username-generator","_rev":"10-8f86c2f7f3dc6dcb2ce329921538ae4c","name":"unique-username-generator","dist-tags":{"latest":"1.5.1"},"versions":{"1.0.0":{"name":"unique-username-generator","version":"1.0.0","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.0.0","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"dist":{"shasum":"b5a95e3e71d3611ce7cb664864d3a5b1994af76f","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.0.0.tgz","fileCount":7,"integrity":"sha512-WFGXyNt2dsH/bPZN6KpLH/1qUrsFPht5Ep7Yr1VTXYT6qHrniw91YLAO8iFCQMts7kY/MOKsjF/BCdoO6mAiNQ==","signatures":[{"sig":"MEYCIQCM6l0X6mjbL/EYLDXE+zEkkJi7J3fkb7gPibfg5vYyxAIhAOJ20dt+pt0v9P/YLcFfo5qu8sFxG+9hXSmoRAD40TN/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":194142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqZXoCRA9TVsSAnZWagAAu3YP/3S7Pv6aYKsZ3zNr7eHc\nbjwVk+uCN49TdGSdHb2+0bV5/Kjlux2llSsCtJDXK3t+pMqSArcuSSysNDkY\n/OqNxfgeRaehv76r5Y7Oit6Wcp4W8vLZbGqhyHHYAsLz78GHOttDeFuRRRjr\nxgkm9yM+93abYwf1gskGQULHys9CkwGKeOtzddAiKqMpAQPBGquScJyNtnsp\nL4hb9hM4PhJ5ihAFJfH9hrKx/5SL0XaA0sHdpTeZm04vVs96FeRw/RBbT7B4\nbZXPNt+isCaFb3LYICVsH62qCkPBX34COw5YSBwOWw+LG8J5v3nju5BliYRU\np6w9+B9TuWP2si0ZPcyEUNLJHXip1um4UK/kuWLi+o1nKe+3/MI86yIhvLCI\njISkiRP/Ip+6n8wVHFeMJDmemdpqR7xjMyypGpGzdWf6pIC3oOn9Q/beppoH\nQttouQqRzetFxHIRVgwB/PJmn8puPPu8UhxASgyMJ1wb64tjml+JBf0Skw6m\n+nExrimJiwFEf00BO5+mr2mOYYKLV8QCUnccTqdpRPNwlFkfhvVdTcQHL4gz\n/XQt0+BgpbJ4sE97VKHhfyyiM28Hy+bmRX8y1+08Kx4tJOWMO0iJi71sxsBy\nUN9alVuW5aGXSKIIttLqESaIM8nmwhMm89DkOkF69HBcDvzDvthxlxSbqgcW\nJ6IS\r\n=3/aS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","gitHead":"1d6ec086f0f7e07482988958129bc3064f503132","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","coverage":"nyc npm test"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"6.14.13","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.4","mocha":"^8.4.0","eslint":"^7.27.0","ts-mocha":"^8.0.0","typescript":"^4.2.4","@types/chai":"^4.2.18","@types/node":"^15.6.0","@types/mocha":"^8.2.2","@typescript-eslint/parser":"^4.24.0","@typescript-eslint/eslint-plugin":"^4.24.0"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.0.0_1621726696023_0.3417011498482574","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"unique-username-generator","version":"1.0.1","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.0.1","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"dist":{"shasum":"b7551ac4872c976c4cd5e1adf1f426b71f9292b7","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.0.1.tgz","fileCount":7,"integrity":"sha512-j8P/F3HLJxqgdZgCzuwqZUin1ZGAAG5op/bqGZHE8cpooArgNNTmSdWGLo8ufUVAf3e6oeC82LouqUBBfai6IQ==","signatures":[{"sig":"MEYCIQDylPbddG1oc//mNxCfWxsQeu03EZrzVaceOWfnvWsk9AIhAKUCvk10v/LMZy86YE7bcdaD8UNi1DSFDyU2UsxBaGdV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":194177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqdxECRA9TVsSAnZWagAA9UUP/jRIBY1z4NEpWd8MkqGg\nuXw19lla7Nte0HlDcjpQ+rkOITaYCVzQU+QRUDMMnORMugq0sPP/bukNmhHm\nenRf4DiXnszqHGXTPPSdD/6/x8/PRtyuDgt3kCbG7y8jbb9aZX5F0rFSmPAW\nCvCz2Xscy74BiWzv8A8EWFKNBA1bhlruj4XOQ5H8v5uNMGamanfLwI3ZOKIM\nJLOu1aKXAtGiKWZRDf2eSxWv7A9fQeZHJyC5UndXoKVtX038f74lSbrSY4p6\nPhK03/0qX4Ukw4yW1xThBRrWkPF1DT37RCzlC3Z4BIw8xNGDz2gQjt3e/gX0\nmpHAG40wBlk4cpZK9/uhoO3F1geoC7Rss2XeCx/LQJhHpI5vyNPwdvOv5PqU\nnt6lDbVxPDqp7HBRZtqiDrI0snE9mtvyyzwKkKT1Ri13TQ1ZUDLtPmocgkRg\nzgDic6UgdEUqXJghR/qlxspmw3HxIjvvcPE2GIcz0EoggP+45+rkD2vxhg/c\ntO6PsvqjkpA3o+wrWIsr9iGj6Qa6PZQYlN3jBEIz+3OrMzr0a+7pktNDQbsh\nZu3Sr0UwNhv0eyP2jGALbS4u29n9FJJOyiiGongqpoKDZMtg27tslwcweLx8\nWEAZrKK/Gjp17GhXFVGEDqmyf3dzR8iY6cH/guZFK0fWKiTKOOMU+QavOX0z\ny9KE\r\n=cmkx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","gitHead":"1d6ec086f0f7e07482988958129bc3064f503132","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","coverage":"nyc npm test"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"6.14.13","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.4","mocha":"^8.4.0","eslint":"^7.27.0","ts-mocha":"^8.0.0","typescript":"^4.2.4","@types/chai":"^4.2.18","@types/node":"^15.6.0","@types/mocha":"^8.2.2","@typescript-eslint/parser":"^4.24.0","@typescript-eslint/eslint-plugin":"^4.24.0"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.0.1_1621744707717_0.8815506716431505","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"unique-username-generator","version":"1.1.1","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.1.1","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"dist":{"shasum":"7434bd3e9b53110342a752de18ae715d56e1b254","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.1.1.tgz","fileCount":11,"integrity":"sha512-0FOgI/8T7czM9d7OmDLLTf/DrmsGKYgz6+AmgTEwV61ydbtr7NWmROKV+vY68e/V9xtIpidIY3hYiwEJB6Tg6Q==","signatures":[{"sig":"MEQCIFpW54IbQI1U0oGOJdZCeya13xJECgtdu6gD7CO4AU7qAiAQ9koEDcL1UlnU5QYxOxv7Y8nywm+D6DGJEW+4bmlRpg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigS6iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDOw//daEofE9gHukP6ozc9nWbDx2Qp59kGRO/I3Ad30ZcaFEbmP9y\r\nTl/rmTig9tiVncqCG8V28wG4stq7rGqQBc6ZgaE42ADvPTRqfzX+WCT+tb3W\r\nlZILTTPFmrmW8WrrHbAFSl3qwFW2qFJ3Mmlq766+WR8iZmyXehO1aC/DFD2V\r\n7UtxMTNoXEeHmiE5mQ9uci9ziwIbapb/MTgIhd1fK4gRgLunuCcysYfsC+Pn\r\n6FscVWJe8A4VOVopKv2Anyo2zz5fqHYjOtbunpBqp8Z8TSLTKZrAD8ZweSU3\r\nsjIt1ccWWS+p02JkYk7aPbr8U0Wcj8IN8LSjkAKwsnrdwL3Vzy4C87gPoGGx\r\n2tAbfU5ba3WnBdDD0at6fGJlQx9g82rF3zib58HaOum26afp1iaep7iKjn3r\r\nFaFSjnCilFYrpHp6Yo3RxkXRf9Ih6q2a1sl335Dwk0L+QUyrqniNrjJQqMag\r\nnLFG4E0Jx7xlxi3Jka0qjBeT/fqmPTcCzC8PtYFA+Cyr/tzlpr+nVNUQG88m\r\n9GAYKOPgPusp2o6Ta0TpWL88J6alay1mZUjOdxEhMmcdurYa1ow8IfKfinRv\r\n28t+dd4tljmo3xmEBgctwGlzObMruZMqigGbRsz5gsyxEQLxPrukfLL+2HYj\r\nddH+x+QUjUIqhlKWz8Z1giPUjibWReChM/o=\r\n=JB8M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"b3d0e9f3e100a00346986e20fb3181bb88eed491","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","prepare":"npm run build","version":"npm run format && git add -A src","coverage":"nyc npm test","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"8.4.0","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"14.18.1","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^10.0.0","eslint":"^8.15.0","ts-mocha":"^10.0.0","typescript":"^4.6.4","@types/chai":"^4.3.1","@types/node":"^17.0.33","@types/mocha":"^9.1.1","@typescript-eslint/parser":"^5.23.0","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.1.1_1652633249972_0.8770122681092676","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"unique-username-generator","version":"1.1.3","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.1.3","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"dist":{"shasum":"ff0745dd8539bc08187f3ab2396ba420ab561d2d","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.1.3.tgz","fileCount":11,"integrity":"sha512-TB6YdqPMKMpTSgxAzjZkKWtmpZPHvARoWreCKBpc1UrLFz/0C6Q96/qdjpLr9OXPCHk16sD1LHjTr3JDj7q2JA==","signatures":[{"sig":"MEUCIAGBpy1IGb457mqCpTJ0p5+nYgdyVx47I8deCpHyQ1ckAiEAmTjR08Adkt48Bs2oGRC59BiL+T1pn9xRSvptXh0pTio=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZ2x1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxXRAAnMElHvvU9QoJhwvmUgX98RLepd21NjA47b0tL5k1qAKNAPP8\r\ncf/vYMLrN1dCfBMCFnyFnxknN4sn6/nhjfn0xdCz6qjrlb3jO8CG3EyYom9i\r\ngV7hY03LgavTSzy6LNibWKkpHrazXqBDk2oVGNHXl6kCbYNo0LpkdXftu3wg\r\npIEcUO/1u8DsBaLa55WWT3+1oCMugLJsE77bmXVKbl7WeTNUkMY/XkAPHhu0\r\n4CnCGgmCe/TH7GNnVCaWVXoRQJJhyqLMTjWmYl5LsaOXI8uOt6GI8TAmbY3O\r\nfn6ooVk2Vy6Dror8oZTCvcwYQCIRmJGTDg6pbEvVxd5mrLvJEbH5Zt1U9LCa\r\nHvfl+yfDJfvfk7tmXLkCmJgq/RFSacD7EyViQyLXkZ6U0winV+P74nKJnmrB\r\nRkOFYJ0VdAlM/D8s/ccCl95TniY1iI0VjIYBX1AsnqVko02t64Mw872pHjqd\r\n+LThKTzNePBImAJrhFp9J/YyRUvdqySOlG0KhUZbG7PgGCZgjxrh+ojXixn1\r\nMRZj3UpIm2J3oF5vN5ILYhzfOTX7GYUbCOns2ZwThJc0vmG+UftwRqjjWjib\r\nIHeuKJlUS9Ct769MwWH35ULY7i+1U4ktd0dhTuh/A7/dDjMafGHPmWzRleXj\r\nAD4GC5HbnE5iJnWVjbyC2pT9EdDEZV1MWl8=\r\n=dR6/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"bdefc0fff5b24332d9ef49da54a060b80afe37a7","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","prepare":"npm run build","coverage":"nyc npm test && npm run cover:report","cover:report":"nyc report --reporter=lcov --reporter=text","semantic-release":"semantic-release --branches main"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"8.19.3","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"16.18.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^10.0.0","eslint":"^8.15.0","ts-node":"^10.9.1","ts-mocha":"^10.0.0","typescript":"^4.6.4","@types/chai":"^4.3.1","@types/node":"^17.0.33","@types/mocha":"^9.1.1","semantic-release":"^19.0.5","source-map-support":"^0.5.21","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@typescript-eslint/eslint-plugin":"^5.23.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.1.3_1667722356973_0.3175137312516949","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"unique-username-generator","version":"1.2.0","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.2.0","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"dist":{"shasum":"fc080da4863dcbec7bdf9f09ce3ed62605892487","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.2.0.tgz","fileCount":11,"integrity":"sha512-aQB5mNOZGeZqQWku15xZeTaD0spV48GmlSmNrabYrx/5DcNDNYgSiwY2cQ0TglkO7Raz+VCUTCERe+CRZf7OLg==","signatures":[{"sig":"MEQCIF7Hf4QhPhPwW7Wyrv2Ghdow6BN6MyJL4ZNwitclcu1wAiBnXrcpaIJ0FxyYgNSVCyqMUsxvpyZWZs4sdQZHAhel3Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268822},"main":"./dist/index.js","types":"./dist/index.d.ts","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"bcbc2e5efa51a876e85587674e556a9e7afc3f53","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","prepare":"npm run build","coverage":"nyc npm test && npm run cover:report","cover:report":"nyc report --reporter=lcov --reporter=text","semantic-release":"semantic-release --branches main"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"8.19.3","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^10.0.0","eslint":"^8.15.0","ts-node":"^10.9.1","ts-mocha":"^10.0.0","typescript":"^4.6.4","@types/chai":"^4.3.1","@types/node":"^17.0.33","@types/mocha":"^9.1.1","semantic-release":"^19.0.5","source-map-support":"^0.5.21","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@typescript-eslint/eslint-plugin":"^5.23.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.2.0_1690915159305_0.5447002379272552","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"unique-username-generator","version":"1.3.0","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.3.0","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"dist":{"shasum":"f1da1977fcd4d9f2297795960a0cff6bbda87601","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.3.0.tgz","fileCount":11,"integrity":"sha512-oPs+Jq9UlXmcrpzrpYvWOWVUVLkJ0/x8zM66ikWEBe1l/hBqXS5fofsDvdScLIlPtqQKlu8/Y91b6T2XtIFubQ==","signatures":[{"sig":"MEUCIGiT3lMZdYIY9Z+U48lHnX5f9YaJYQLPXkLht7DbLwJyAiEA3Mb1I4aJFndm5z8TYCfPdDJx2MKREbZx4s6YwvHGcjA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268789},"main":"./dist/index.js","types":"./dist/index.d.ts","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"2bd3b83b9614b9ff80c111365d6cd36f3b9cf0b9","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","prepare":"npm run build","coverage":"nyc npm test && npm run cover:report","cover:report":"nyc report --reporter=lcov --reporter=text","semantic-release":"semantic-release --branches main"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"10.2.3","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^10.0.0","eslint":"^8.15.0","ts-node":"^10.9.1","ts-mocha":"^10.0.0","typescript":"^4.6.4","@types/chai":"^4.3.1","@types/node":"^17.0.33","@types/mocha":"^9.1.1","semantic-release":"^19.0.5","source-map-support":"^0.5.21","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@typescript-eslint/eslint-plugin":"^5.23.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.3.0_1705046826482_0.3334527496867046","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"unique-username-generator","version":"1.4.0","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.4.0","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"dist":{"shasum":"d5dc77056a271802146869097ac133a928078b12","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.4.0.tgz","fileCount":11,"integrity":"sha512-Y6CY5vLPeixB5V4t6b/y7KkOPWpbANCIln4O6MRzz2uPIxzDm6KshWxJKMeAxLU2EPyCK+ptw/YeZMkZPFv2bw==","signatures":[{"sig":"MEQCIFo0ZI9TuJcNtgcxjjwgB9rptMydRlTK8N80x/EeQAlbAiAxiK0HEVMa0jueA6l3RFX015nRMpP4wS1k0Bo/ZYPiwA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268385},"main":"./dist/index.js","types":"./dist/index.d.ts","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"94e5166f2227e514fbb216670d7eb433e37b8761","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","prepare":"npm run build","coverage":"nyc npm test && npm run cover:report","cover:report":"nyc report --reporter=lcov --reporter=text","semantic-release":"semantic-release --branches main"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^10.0.0","eslint":"^8.15.0","ts-node":"^10.9.1","ts-mocha":"^10.0.0","typescript":"^4.6.4","@types/chai":"^4.3.1","@types/node":"^17.0.33","@types/mocha":"^9.1.1","semantic-release":"^19.0.5","source-map-support":"^0.5.21","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@typescript-eslint/eslint-plugin":"^5.23.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.4.0_1733067823690_0.5433743651417746","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"unique-username-generator","version":"1.5.0","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","_id":"unique-username-generator@1.5.0","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"homepage":"https://github.com/subhamg/unique-username-generator#readme","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"bin":{"uuname":"dist/cli.js","usergen":"dist/cli.js","usernamegen":"dist/cli.js","unique-username":"dist/cli.js"},"dist":{"shasum":"3edea0ddbefd273f373814b76fb7b7a049530904","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.5.0.tgz","fileCount":17,"integrity":"sha512-fl5Bec/oq84tSTceKJuoUPfMhJHQiB9f5qG2z7nxzUcIya7RiUZbLzDPi39A7YrKfqZgY1f49PtK1AVC20/Hjw==","signatures":[{"sig":"MEYCIQDUIe3miQtuHUhq4KAKH+PHrltVNEsqYs/mDl66QsOwGQIhALqjXlBGEaOiMW6KgIWOOIYYcjljnJr7ru/lNN0k1GKT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":293967},"main":"./dist/index.js","types":"./dist/index.d.ts","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"0d2409fcd8a7f31c00cd30313fada2ed085c9a4d","scripts":{"lint":"eslint '*/**/*.ts'","test":"ts-mocha tests/**/*.test.ts","build":"tsc","prepare":"npm run build","coverage":"nyc npm test && npm run cover:report","cover:report":"nyc report --reporter=lcov --reporter=text","semantic-release":"semantic-release --branches main"},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"repository":{"url":"git+https://github.com/subhamg/unique-username-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^10.0.0","eslint":"^8.15.0","ts-node":"^10.9.1","ts-mocha":"^10.0.0","typescript":"^4.6.4","@types/chai":"^4.3.1","@types/node":"^17.0.33","@types/mocha":"^9.1.1","semantic-release":"^19.0.5","source-map-support":"^0.5.21","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@typescript-eslint/eslint-plugin":"^5.23.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/unique-username-generator_1.5.0_1754937237409_0.25973345341603626","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"unique-username-generator","version":"1.5.1","description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","main":"./dist/index.js","scripts":{"build":"tsc","test":"ts-mocha tests/**/*.test.ts","coverage":"nyc npm test && npm run cover:report","cover:report":"nyc report --reporter=lcov --reporter=text","lint":"eslint '*/**/*.ts'","prepare":"npm run build","semantic-release":"semantic-release --branches main"},"bin":{"usernamegen":"dist/cli.js","usergen":"dist/cli.js","unique-username":"dist/cli.js","uuname":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/subhamg/unique-username-generator.git"},"keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"author":{"name":"Subham Goyal"},"license":"MIT","bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"homepage":"https://github.com/subhamg/unique-username-generator#readme","devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.2","@types/chai":"^4.3.1","@types/mocha":"^9.1.1","@types/node":"^17.0.33","@typescript-eslint/eslint-plugin":"^5.23.0","@typescript-eslint/parser":"^5.23.0","chai":"^4.3.6","cz-conventional-changelog":"^3.3.0","eslint":"^8.15.0","mocha":"^10.0.0","nyc":"^15.1.0","semantic-release":"^19.0.5","source-map-support":"^0.5.21","ts-mocha":"^10.0.0","ts-node":"^10.9.1","typescript":"^4.6.4"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"types":"./dist/index.d.ts","gitHead":"eebb91e51cde2537566a370655ce834ecd6c2624","_id":"unique-username-generator@1.5.1","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Q0pSKPyij4L7Tm6Bo3XsWeFG9qbyWTtwb3jTN+XgGhCFdlvQn6Fj0DCfYElw0kp/Xp7Jv1Q+CL+aA8S07RMChA==","shasum":"7b4f31b0823f791785932f9551fbf443774e7df0","tarball":"https://registry.npmjs.org/unique-username-generator/-/unique-username-generator-1.5.1.tgz","fileCount":17,"unpackedSize":277085,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIADDPjB2podFsVNxP6m0BZjkabr99nbjiD0bovnJv1esAiEA3Za44/Oo56EVfXxTOA1ZvpcEOqxMowhEwpBcWspUZuQ="}]},"_npmUser":{"name":"subhamg","email":"subham.iitk@gmail.com"},"directories":{},"maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unique-username-generator_1.5.1_1754937614086_0.7752428242117935"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-22T23:38:16.022Z","modified":"2025-08-11T18:40:14.484Z","1.0.0":"2021-05-22T23:38:16.290Z","1.0.1":"2021-05-23T04:38:27.863Z","1.1.1":"2022-05-15T16:47:30.136Z","1.1.3":"2022-11-06T08:12:37.171Z","1.2.0":"2023-08-01T18:39:19.527Z","1.3.0":"2024-01-12T08:07:06.703Z","1.4.0":"2024-12-01T15:43:43.934Z","1.5.0":"2025-08-11T18:33:57.598Z","1.5.1":"2025-08-11T18:40:14.301Z"},"bugs":{"url":"https://github.com/subhamg/unique-username-generator/issues"},"author":{"name":"Subham Goyal"},"license":"MIT","homepage":"https://github.com/subhamg/unique-username-generator#readme","keywords":["generate","username","username-from-email","email","generate username","generate-username-from-email","generate unique username","generate-unique-username","generate-unique-name","unique-username-generator","unique-name-generator","unique","random","user","generator","node"],"repository":{"type":"git","url":"git+https://github.com/subhamg/unique-username-generator.git"},"description":"A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.","maintainers":[{"name":"subhamg","email":"subham.iitk@gmail.com"}],"readme":"[![npm version](https://img.shields.io/npm/v/unique-username-generator)](https://www.npmjs.com/package/unique-username-generator)\n[![downloads](https://img.shields.io/npm/dw/unique-username-generator)](https://www.npmjs.com/package/unique-username-generator)\n[![license: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![TypeScript types](https://img.shields.io/badge/TS-Types%20included-3178c6?logo=typescript)](https://www.npmjs.com/package/unique-username-generator)\n[![install size](https://packagephobia.com/badge?p=unique-username-generator)](https://packagephobia.com/result?p=unique-username-generator)\n[![bundle size](https://deno.bundlejs.com/badge?q=unique-username-generator@latest)](https://bundlejs.com/?q=unique-username-generator@latest)\n[![install size](https://img.shields.io/packagephobia/install/unique-username-generator)](https://packagephobia.com/result?p=unique-username-generator)\n[![semantic-release](https://img.shields.io/badge/release-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n![Visitors](https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Funique-username-generator&countColor=%23dce775&style=flat)\n<span class=\"badge-buymeacoffee\">\n<a href=\"https://www.buymeacoffee.com/subhamg\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a>\n</span>\n\n# unique-username-generator\n\nA tiny, flexible username generator for Node and browsers. Generate from email or dictionaries; control separator, style, max length, optional digits, profanity filtering, templates, deterministic seeds, and batch generation.\n\nSecurity note: this library generates human-friendly display names. It is not intended for security-sensitive randomness (e.g., passwords, tokens). It prefers Web Crypto when available and falls back to a non-crypto PRNG only as a last resort.\n\n[![NPM](https://nodei.co/npm/unique-username-generator.svg)](https://nodei.co/npm/unique-username-generator/)\n\n## Installation\n\n```bash\nnpm install unique-username-generator --save\n```\n\n- Importing\n\n```javascript\n// Using Node.js `require()`\nconst { generateFromEmail, generateUsername } = require(\"unique-username-generator\");\n// Using ES6 imports\nimport { generateFromEmail, generateUsername } from \"unique-username-generator\";\n```\n\n## Usage\n\n### Generate username from email\n\nIt will generate username from email and add upto six random digits at the end of the name.\n\n```javascript\n// Simple: add three random digits\ngenerateFromEmail(\"lakshmi.narayan@example.com\", 3); // \"lakshminarayan234\"\n\n// Advanced: options\ngenerateFromEmail(\"123john@example.com\", { randomDigits: 2, stripLeadingDigits: true }); // \"john12\"\ngenerateFromEmail(\"12345@example.com\", { randomDigits: 0, leadingFallback: \"member\" });  // \"member\"\n```\n\n### Randomly generate unique username.\n\nIt will generate unique username from adjectives, nouns, random digits and separator. You can control these following parameters - separator, number of random digits and maximum length of a username.\n\n```javascript\n// generaterUsername(separator, number of random digits, maximum length)\n\n// Without any parameter\nconst username = generateUsername();\nconsole.log(username); // blossomlogistical\n\n// With any separator like \"-, _\"\nconst username = generateUsername(\"-\");\nconsole.log(username); // blossom-logistical\n\n// With random digits and no separator\nconst username = generateUsername(\"\", 3);\nconsole.log(username); // blossomlogistical732\n\n// With maximum length constraint and no separator, no random digits\nconst username = generateUsername(\"\", 0, 15);\nconsole.log(username); // blossomlogistic\n\n// With maximum length constraint and separator but no random digits\nconst username = generateUsername(\"-\", 0, 15);\nconsole.log(username); // blossom-logisti\n\n// With maximum length constraint and random digits but no separator\nconst username = generateUsername(\"\", 2, 19);\nconsole.log(username); // blossomlogistical73\n\n// With all parameters\nconst username = generateUsername(\"-\", 2, 20, \"unique username\");\nconsole.log(username); // unique-username-73\n```\n\n### Default dictionaries\n\nBy default, the unique username generator library comes with 2 dictionaries out of the box, so that you can use them straight away.\n\nThe new syntax for using the default dictionaries is the following:\n\n```javascript\nimport { uniqueUsernameGenerator, Config, adjectives, nouns } from 'unique-username-generator';\n\nconst config: Config = {\n  dictionaries: [adjectives, nouns]\n}\n\nconst username: string = uniqueUsernameGenerator(config); // blossomlogistical\n```\n\n### Custom dictionaries\n\nYou might want to provide your custom dictionaries to use for generating your unique username, in order to meet your project requirements. You can easily do that using the dictionaries option.\n\n```javascript\nimport { uniqueUsernameGenerator } from 'unique-username-generator';\n\nconst marvelCharacters = [\n  'Iron Man',\n  'Doctor Strange',\n  'Hulk',\n  'Captain America',\n  'Thanos'\n];\n\nconst config: Config = {\n  dictionaries: [marvelCharacters],\n  separator: '',\n  style: 'capital',\n  randomDigits: 3\n}\n\nconst username: string = uniqueUsernameGenerator(config); // Hulk123\n```\n\n### Profanity filtering and exclusions\n\nBy default, the generator filters out common profane words from the built-in dictionaries to avoid unsafe names. You can extend or override the blocklist using `exclude` and `profanityList`.\n\n```ts\nimport { uniqueUsernameGenerator, adjectives, nouns, DEFAULT_PROFANITY } from 'unique-username-generator';\n\nconst username = uniqueUsernameGenerator({\n  dictionaries: [adjectives, nouns],\n  exclude: ['beta', 'foo'],            // custom exclusions\n  profanityList: DEFAULT_PROFANITY,    // extend/override blocklist\n  randomDigits: 0\n});\n```\n\n### Output styles\n\nAdditional styles are supported beyond `lowerCase`, `upperCase`, and `capital`:\n- `camelCase`\n- `pascalCase`\n- `kebabCase`\n- `snakeCase`\n- `titleCase` (capitalize each word)\n\n```ts\nuniqueUsernameGenerator({ dictionaries: [[\"blue\"],[\"whale\"]], separator: \"-\", style: 'camelCase', randomDigits: 0 }); // blueWhale\n```\n\n### Templates and deterministic output\n\n```ts\n// Template tokens: {adjective}, {noun}, positional {0},{1},... and {digits:n}\nuniqueUsernameGenerator({\n  dictionaries: [adjectives, nouns],\n  template: \"{adjective}-{noun}-{digits:2}\",\n  seed: \"v1\",           // make output deterministic\n  style: \"lowerCase\",\n}); // e.g. \"brave-otter-42\"\n```\n\n### Batch generation\n\n```ts\nimport { generateMany, generateUniqueAsync } from 'unique-username-generator';\n\n// Generate N (optionally unique) usernames in-memory\nconst many = generateMany({ dictionaries: [adjectives, nouns], count: 5, unique: true });\n\n// Generate a username that is unique against an external store\nconst taken = new Set([\"cool-fox\"]);\nconst username = await generateUniqueAsync(\n  { dictionaries: [adjectives, nouns], separator: \"-\" },\n  (candidate) => taken.has(candidate)\n);\n```\n\n### CLI\n\nAfter installing, a simple CLI is available as `usergen` (aliases: `usernamegen`, `unique-username`, `uuname`).\n\n```\nUsage: usergen [options]\n\nOptions:\n  -s, --separator <sep>     Separator between words (default: empty)\n  -d, --digits <n>          Number of random digits to append (0-6)\n  -l, --length <n>          Maximum username length (default: 15)\n      --style <style>       Style: lowerCase | upperCase | capital | camelCase | pascalCase | kebabCase | snakeCase | titleCase\n  -U, --upper               Shortcut for --style upperCase\n      --seed <seed>         Deterministic seed for reproducible output\n  -t, --template <tpl>      Template, e.g. \"{adjective}-{noun}-{digits:2}\"\n  -c, --count <n>           Generate many\n  -u, --unique              Ensure unique usernames within this run\n  -o, --out <file>          Write results to a file (UTF-8)\n      --unsafe              Disable profanity filtering\n  -U, --upper               Shortcut for --style upperCase\n  -D, --dict <a,b,c>        Provide a custom dictionary (can be used multiple times)\n  -x, --exclude <a,b,c>     Extra words to exclude\n  -h, --help                Show help\n```\n\n## API\n\n### uniqueUsernameGenerator (options)\nReturns a `string` with a random generated username\n\n### options\n\nType: `Config`\n\nThe `options` argument mostly corresponds to the properties defined for uniqueUsernameGenerator. Only `dictionaries` is required.\n\n\n| Option       | Type                                | Description                                                                                                                                                                                                                                                                         | Default value | Example value                                                                                                                                                                                                           |\n|--------------|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| dictionaries | `array`                             | This is an array of dictionaries. Each dictionary is an array of strings containing the words to use for generating the string.<br>The provided dictionaries can be imported from the library as a separate modules and provided in the desired order.                              | n/a           | <br>```import { uniqueUsernameGenerator, adjectives, nouns } from 'unique-username-generator';```<br>```const username: string = uniqueUsernameGenerator({ dictionaries: [nouns, adjectives]}); // blossomlogistical``` |\n| separator    | `string`                            | A string separator to be used for separate the words generated. The default separator is set to be empty string.                                                                                                                                                                    | \"\"            | `-`                                                                                                                                                                                                                     |\n| randomDigits | `number`                            | A number of random digits to add at the end of a username.                                                                                                                                                                                                                          | 0             | `3`                                                                                                                                                                                                                     |\n| length       | `number`                            | A maximum length of a username                                                                                                                                                                                                                                                      | 15            | `12`                                                                                                                                                                                                                    |\n| style        | `lowerCase \\| upperCase \\| capital \\| titleCase` | The default value is set to `lowerCase` and it will return a lower case username.<br>By setting the value to `upperCase`, the words will be returned in upper case.<br>The `capital` option will capitalize only the first character of the full username.<br>`titleCase` will capitalize each word (token). | lowerCase     | `lowerCase` |\n\nAdditional options:\n\n| Option          | Type         | Description | Default |\n|-----------------|--------------|-------------|---------|\n| exclude         | `string[]`   | Extra words to filter out | [] |\n| profanityList   | `string[]`   | Profanity blocklist to apply to dictionaries | built-in minimal list |\n| profanityOptions| `{ matchSubstrings?: boolean, wordBoundary?: string }` | Fine-tune matching | word-boundary matching |\n| style           | extend to: `camelCase \\| pascalCase \\| kebabCase \\| snakeCase \\| titleCase` | Additional output styles | `lowerCase` |\n\n## License\n\nThe MIT License.\n\n## Thank you\nIf you'd like to say thanks, I'd really appreciate a coffee :)\n\n<a href=\"https://www.buymeacoffee.com/subhamg\" target=\"_blank\"><img src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 50px !important;width: 200px !important;\" ></a>","readmeFilename":"README.md"}