{"name":"nanoid","version":"5.0.0","description":"A tiny (116 bytes), secure URL-friendly unique string ID generator","keywords":["uuid","random","id","url"],"type":"module","engines":{"node":"^18 || >=20"},"funding":[{"type":"github","url":"https://github.com/sponsors/ai"}],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ai/nanoid.git"},"exports":{".":{"browser":"./index.browser.js","default":"./index.js"},"./non-secure":"./non-secure/index.js","./package.json":"./package.json"},"browser":{"./index.js":"./index.browser.js"},"bin":{"nanoid":"bin/nanoid.js"},"sideEffects":false,"types":"./index.d.ts","_id":"nanoid@5.0.0","gitHead":"cf151a7476c313ff68c53701c949c287043b9b82","bugs":{"url":"https://github.com/ai/nanoid/issues"},"homepage":"https://github.com/ai/nanoid#readme","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-wVZsnt5OB0dYCCfehtku3pGSS7vDjUjGQcB96wS+67JA0fILOVx0o7CnMSHZdlzGpaUtegC41ltxUVEqn5a+BA==","shasum":"9dda930d2f876f645cce018d9e0b1facf1f0874d","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-5.0.0.tgz","fileCount":11,"unpackedSize":10717,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUZ+ei7cYJjz7Vv8sPnxvl+3c9zWS6AHH4hjgygoQzywIhAIPO/Mj/dAA4tfvxyBHllznZ1noLqkN1GbbK9VU2XkXR"}],"size":4274,"noattachment":false,"key":"/nanoid/-/nanoid-5.0.0.tgz"},"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanoid_5.0.0_1694547674034_0.6630570316415054"},"_hasShrinkwrap":false,"readme":"# Nano ID\n\n<img src=\"https://ai.github.io/nanoid/logo.svg\" align=\"right\"\n     alt=\"Nano ID logo by Anton Lovchikov\" width=\"180\" height=\"94\">\n\n**English** | [Русский](./README.ru.md) | [简体中文](./README.zh-CN.md) | [Bahasa Indonesia](./README.id-ID.md)\n\nA tiny, secure, URL-friendly, unique string ID generator for JavaScript.\n\n> “An amazing level of senseless perfectionism,\n> which is simply impossible not to respect.”\n\n* **Small.** 116 bytes (minified and brotlied). No dependencies.\n  [Size Limit] controls the size.\n* **Safe.** It uses hardware random generator. Can be used in clusters.\n* **Short IDs.** It uses a larger alphabet than UUID (`A-Za-z0-9_-`).\n  So ID size was reduced from 36 to 21 symbols.\n* **Portable.** Nano ID was ported\n  to over [20 programming languages](./README.md#other-programming-languages).\n\n```js\nimport { nanoid } from 'nanoid'\nmodel.id = nanoid() //=> \"V1StGXR8_Z5jdHi6B-myT\"\n```\n\n---\n\n<img src=\"https://cdn.evilmartians.com/badges/logo-no-label.svg\" alt=\"\" width=\"22\" height=\"16\" />  Made in <b><a href=\"https://evilmartians.com/devtools?utm_source=nanoid&utm_campaign=devtools-button&utm_medium=github\">Evil Martians</a></b>, product consulting for <b>developer tools</b>.\n\n---\n\n[online tool]: https://gitpod.io/#https://github.com/ai/nanoid/\n[with Babel]:  https://developer.epages.com/blog/coding/how-to-transpile-node-modules-with-babel-and-webpack-in-a-monorepo/\n[Size Limit]:  https://github.com/ai/size-limit\n\n\n## Docs\nRead full docs **[here](https://github.com/ai/nanoid#readme)**.\n","publish_time":1694547674218,"_cnpm_publish_time":1694547674218,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}