{"name":"nanoid","version":"5.1.4","keywords":["uuid","random","id","url"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"nanoid@5.1.4","homepage":"https://github.com/ai/nanoid#readme","bugs":{"url":"https://github.com/ai/nanoid/issues"},"bin":{"nanoid":"bin/nanoid.js"},"dist":{"shasum":"10b15a91d2f727b1f200faf0ff73656fd96c497d","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-5.1.4.tgz","fileCount":11,"integrity":"sha512-GTFcMIDgR7tqji/LpSY8rtg464VnJl/j6ypoehYnuGb+Y8qZUdtKB8WVCXon0UEZgFDbuUxpIl//6FHLHgXSNA==","signatures":[{"sig":"MEUCIQCqp2MWNPzHsP6XlLQB9vPzNUkgOPMZNSfKJndfgXInYQIgCV04lrgCAqXyaP0epyfJWctgezIAqcpQ6/YYsZ83gxs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12143,"size":4599,"noattachment":false,"key":"/nanoid/-/nanoid-5.1.4.tgz"},"type":"module","types":"./index.d.ts","browser":{"./index.js":"./index.browser.js"},"engines":{"node":"^18 || >=20"},"exports":{".":{"browser":"./index.browser.js","default":"./index.js","react-native":"./index.browser.js"},"./non-secure":"./non-secure/index.js","./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/ai","type":"github"}],"gitHead":"523a74ee7a90ac82697478d3eb7c776ee6ce095c","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"repository":{"url":"git+https://github.com/ai/nanoid.git","type":"git"},"_npmVersion":"10.9.2","description":"A tiny (118 bytes), secure URL-friendly unique string ID generator","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","react-native":{"./index.js":"./index.browser.js"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nanoid_5.1.4_1742074610422_0.6991217391153586","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.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":1742074610628,"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_cnpm_publish_time":1742074610628,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}