{"_id":"@aurelle/idiomatic-slug","_rev":"2-a4535eee27d58db500d111299ce5e314","name":"@aurelle/idiomatic-slug","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@aurelle/idiomatic-slug","version":"1.0.0","description":"Generate slugs made of an English adjective and noun.","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf dist && tsc --declaration --outDir dist"},"keywords":[],"author":"","license":"ISC","devDependencies":{"rimraf":"^5.0.5","ts-node":"^10.9.1","typescript":"^5.2.2"},"_id":"@aurelle/idiomatic-slug@1.0.0","_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-HZgja2Q29V+vbCRcM6PcoI3XuApH290ENOT2T5htAjRwkJ2FT1t+cy033gDZyGngl+ke4f4TopnVJkXR2gpFoA==","shasum":"82a879a569bd816e63aea7de924c9c38e1a2b8eb","tarball":"https://registry.npmjs.org/@aurelle/idiomatic-slug/-/idiomatic-slug-1.0.0.tgz","fileCount":15,"unpackedSize":100226,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAk9rHjDzqIVr/lNy0wda3IOs4ufsVECki+h2i0wSruwIgXupKxh43siPSs99GUidPxwNM4+0MLHUsVapojwh5R5k="}]},"_npmUser":{"name":"aurelle","email":"main@aurelienbrabant.fr"},"directories":{},"maintainers":[{"name":"aurelle","email":"main@aurelienbrabant.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/idiomatic-slug_1.0.0_1699605224461_0.750316430852598"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aurelle/idiomatic-slug","version":"1.0.1","description":"Generate slugs made of an English adjective and noun.","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf dist && tsc --declaration --outDir dist"},"keywords":[],"author":"","license":"ISC","devDependencies":{"rimraf":"^5.0.5","ts-node":"^10.9.1","typescript":"^5.2.2"},"_id":"@aurelle/idiomatic-slug@1.0.1","_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-1EzQQAU3lqOT7JNu+JvJwNRZJ031a3qaiNpqzpLvw3J4PFIx+pzAN4fqV+16O37FLNXdzkYNJ6CtTeAkU4TGSQ==","shasum":"ca172d0757333b4a9174326fa29bf4fff14edde3","tarball":"https://registry.npmjs.org/@aurelle/idiomatic-slug/-/idiomatic-slug-1.0.1.tgz","fileCount":15,"unpackedSize":100233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJZctP6+1zdBOQBbnsji8Bgqes49wrbQ0FYeXOmTOCXAiAaTp8GjToBoiW7TBvtFMQb+BJQ2ssjktZsH9Mehf99kA=="}]},"_npmUser":{"name":"aurelle","email":"main@aurelienbrabant.fr"},"directories":{},"maintainers":[{"name":"aurelle","email":"main@aurelienbrabant.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/idiomatic-slug_1.0.1_1699605695077_0.11117252978482606"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aurelle/idiomatic-slug","version":"1.0.2","description":"Generate slugs made of an English adjective and noun.","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf dist && tsc --declaration --outDir dist"},"keywords":[],"author":"","license":"ISC","devDependencies":{"rimraf":"^5.0.5","ts-node":"^10.9.1","typescript":"^5.2.2"},"_id":"@aurelle/idiomatic-slug@1.0.2","_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-g/kIyu+GILBI/ZgxeTxiojYl267bgbuzC9NoFKI9IAW1uRcaNYE0SOTfsnSGrdeQ7dfKm0Nohro39Xt38+YF9A==","shasum":"30567f4a6a336133c83497514fbdaefb4ecb9ee5","tarball":"https://registry.npmjs.org/@aurelle/idiomatic-slug/-/idiomatic-slug-1.0.2.tgz","fileCount":15,"unpackedSize":100239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBwhUp4cfC9JzCBNDgzMsSRm+MSlc70l8CEZwq/bxC8AiEA8jEbX00Hpx60rywqo1m0oN4eGj5w60ORvoONjltmQCU="}]},"_npmUser":{"name":"aurelle","email":"main@aurelienbrabant.fr"},"directories":{},"maintainers":[{"name":"aurelle","email":"main@aurelienbrabant.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/idiomatic-slug_1.0.2_1699605760537_0.8038516342707016"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-10T08:33:44.304Z","1.0.0":"2023-11-10T08:33:44.741Z","modified":"2023-11-10T08:42:40.931Z","1.0.1":"2023-11-10T08:41:35.284Z","1.0.2":"2023-11-10T08:42:40.747Z"},"maintainers":[{"name":"aurelle","email":"main@aurelienbrabant.fr"}],"description":"Generate slugs made of an English adjective and noun.","keywords":[],"license":"ISC","readme":"# idiomatic-slug\n\nGenerates slugs made of an adjective and a noun.\n\nBrowser and NodeJS compatible.\n\n## Usage\n\n```typescript\nimport { generate } from '@aurelle/idiomatic-slug'\n\nconsole.log(generate())\n// angry-alarm\n\nconsole.log(generate({ separator = ' ' }))\n// angry alarm\n```\n\nIt's also possible to generate a random adjective or noun separately:\n\n```typescript\nimport { noun, adjective } from '@aurelle/idiomatic-slug'\n\nconsole.log(noun())\n// alarm\n\nconsole.log(adjective())\n// angry\n```\n\n## Concerns\n\n### Uniqueness\n\nThis package uses local wordlists that, when combined into an adjective-noun slug, make up for a total of 2,910,512 unique slugs.\nWhile this may seem huge you want to apply extra care if you rely on this slug as your only source of uniqueness (which I wouldn't recommend).\n\n### Memory footprint\n\nTo keep it simple and fast, the wordlists are loaded in memory as Javascripts arrays. As such, this has little impact on the general memory consumption. While this should not be that big of a deal, especially on systems that have the luxury of running NodeJS, that's worth noting.\n","readmeFilename":"README.md"}