{"name":"nanoid","version":"5.1.5","description":"A tiny (118 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","react-native":"./index.browser.js","default":"./index.js"},"./non-secure":"./non-secure/index.js","./package.json":"./package.json"},"browser":{"./index.js":"./index.browser.js"},"react-native":{"./index.js":"./index.browser.js"},"bin":{"nanoid":"bin/nanoid.js"},"sideEffects":false,"types":"./index.d.ts","_id":"nanoid@5.1.5","gitHead":"5b1220d5c25386558350ab737626819f795f7b30","bugs":{"url":"https://github.com/ai/nanoid/issues"},"homepage":"https://github.com/ai/nanoid#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==","shasum":"f7597f9d9054eb4da9548cdd53ca70f1790e87de","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-5.1.5.tgz","fileCount":11,"unpackedSize":12143,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC5Ct7Xip5MmpHlOL/TLaHEji8v74XyALeCLns0ULUFUQIhAOTuJHOHj1MsY1hqxJAXujtesIrVKYVsczg6X7d+JInV"}],"size":4599,"noattachment":false,"key":"/nanoid/-/nanoid-5.1.5.tgz"},"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nanoid_5.1.5_1742339363535_0.9826532746496743"},"_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.** 118 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 at <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":1742339363726,"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_cnpm_publish_time":1742339363726,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}