{"name":"nanoid","version":"3.3.8","keywords":["uuid","random","id","url"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"nanoid@3.3.8","homepage":"https://github.com/ai/nanoid#readme","bugs":{"url":"https://github.com/ai/nanoid/issues"},"bin":{"nanoid":"bin/nanoid.cjs"},"dist":{"shasum":"b1be3030bee36aaff18bacb375e5cce521684baf","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-3.3.8.tgz","fileCount":26,"integrity":"sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==","signatures":[{"sig":"MEUCIQDCX22b8tPTFFfeVn/MBBfBrZ0shZDoRq2+Hf0q1mEZTwIgVJnZoBHJMCIIYCkzTyy9Hjblcv5P0uBC/x5+5JeD2CE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57113,"size":12946,"noattachment":false,"key":"/nanoid/-/nanoid-3.3.8.tgz"},"main":"index.cjs","type":"module","types":"./index.d.ts","module":"index.js","browser":{"./index.js":"./index.browser.js","./index.cjs":"./index.browser.cjs","./async/index.js":"./async/index.browser.js","./async/index.cjs":"./async/index.browser.cjs"},"engines":{"node":"^10 || ^12 || ^13.7 || ^14 || >=15.0.1"},"exports":{".":{"import":{"types":"./index.d.ts","default":"./index.js"},"browser":"./index.browser.js","default":"./index.js","require":{"types":"./index.d.cts","default":"./index.cjs"}},"./async":{"import":{"types":"./index.d.ts","default":"./async/index.js"},"browser":"./async/index.browser.js","default":"./async/index.js","require":{"types":"./index.d.cts","default":"./async/index.cjs"}},"./non-secure":{"import":{"types":"./index.d.ts","default":"./non-secure/index.js"},"default":"./non-secure/index.js","require":{"types":"./index.d.cts","default":"./non-secure/index.cjs"}},"./package.json":"./package.json","./url-alphabet":{"import":{"types":"./index.d.ts","default":"./url-alphabet/index.js"},"default":"./url-alphabet/index.js","require":{"types":"./index.d.cts","default":"./url-alphabet/index.cjs"}},"./async/package.json":"./async/package.json","./non-secure/package.json":"./non-secure/package.json","./url-alphabet/package.json":"./url-alphabet/package.json"},"funding":[{"url":"https://github.com/sponsors/ai","type":"github"}],"gitHead":"3044cd5e73f4cf31795f61f6e6b961c8c0a5c744","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"repository":{"url":"git+https://github.com/ai/nanoid.git","type":"git"},"_npmVersion":"10.9.0","description":"A tiny (116 bytes), secure URL-friendly unique string ID generator","directories":{},"sideEffects":false,"_nodeVersion":"22.11.0","react-native":"index.js","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nanoid_3.3.8_1732622105796_0.7625183651230416","host":"s3://npm-registry-packages"},"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":1732622105967,"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_cnpm_publish_time":1732622105967,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}