{"name":"nanoid","version":"5.1.7","keywords":["uuid","random","id","url"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"nanoid@5.1.7","maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"homepage":"https://github.com/ai/nanoid#readme","bugs":{"url":"https://github.com/ai/nanoid/issues"},"bin":{"nanoid":"bin/nanoid.js"},"dist":{"shasum":"a9f09a4ce73ba0b88830af36ee49666bad7827b6","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-5.1.7.tgz","fileCount":11,"integrity":"sha512-ua3NDgISf6jdwezAheMOk4mbE1LXjm1DfMUDMuJf4AqxLFK3ccGpgWizwa5YV7Yz9EpXwEaWoRXSb/BnV0t5dQ==","signatures":[{"sig":"MEYCIQC4l4xULk75wRhK8BH5Aordf9w3pQa4wi4pwHJxsn9v7QIhAIgnf4NjosjwO0uNIi5J6f/MmK04nndzRW2+AUOWyL7/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12759,"size":4806,"noattachment":false,"key":"/nanoid/-/nanoid-5.1.7.tgz"},"type":"module","types":"./index.d.ts","browser":{"./index.js":"./index.browser.js"},"engines":{"node":"^18 || >=20"},"exports":{".":{"types":"./index.d.ts","browser":"./index.browser.js","default":"./index.js","react-native":"./index.browser.js"},"./non-secure":{"types":"./non-secure/index.d.ts","default":"./non-secure/index.js"},"./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/ai","type":"github"}],"gitHead":"90f047e75a0fed0f7c2be1a7d195a805e4d605d4","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"repository":{"url":"git+https://github.com/ai/nanoid.git","type":"git"},"_npmVersion":"10.9.4","description":"A tiny (118 bytes), secure URL-friendly unique string ID generator","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","react-native":{"./index.js":"./index.browser.js"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nanoid_5.1.7_1773605596129_0.05622321238148431","host":"s3://npm-registry-packages-npm-production"},"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.ja.md) | [Русский](./README.ru.md) | [简体中文](./README.zh-CN.md) | [Bahasa Indonesia](./README.id-ID.md) | [한국어](./README.ko.md) | [العربية](./README.ar.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.** 117 bytes (minified and brotlied). No dependencies.\n  [Size Limit] controls the size.\n- **Fast.** 50% faster than native `crypto.randomUUID()`.\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\" />  Nano ID is built by <b><a href=\"https://evilmartians.com/\">Evil Martians</a></b>, an American design and engineering consultancy for <b>developer tools, AI, and cybersecurity startups</b>.\n\n---\n\n[Size Limit]: https://github.com/ai/size-limit\n\n## Docs\nRead full docs **[here](https://github.com/ai/nanoid#readme)**.\n","publish_time":1773605596293,"_cnpm_publish_time":1773605596293,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}