{"name":"nanoid","version":"5.0.9","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","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.0.9","gitHead":"65a38ac63a0709c420b9de30b15511b84e87c423","bugs":{"url":"https://github.com/ai/nanoid/issues"},"homepage":"https://github.com/ai/nanoid#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==","shasum":"977dcbaac055430ce7b1e19cf0130cea91a20e50","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-5.0.9.tgz","fileCount":11,"unpackedSize":10951,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF6Nyp8ClPi6RuG0y1xR+p9mXkG/yLRKOguSClCoFPDAIhAPpT2e1c0oiJFXbTE1CB4iba8mWXV4/nqSEV5W6CV4pK"}],"size":4377,"noattachment":false,"key":"/nanoid/-/nanoid-5.0.9.tgz"},"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanoid_5.0.9_1732622393022_0.5274708047807377"},"_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":1732622393257,"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_cnpm_publish_time":1732622393257,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}