{"name":"nanoid","version":"3.3.15","keywords":["uuid","random","id","url"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"nanoid@3.3.15","maintainers":[{"name":"ai","email":"andrey@sitnik.es"}],"homepage":"https://github.com/ai/nanoid#readme","bugs":{"url":"https://github.com/ai/nanoid/issues"},"bin":{"nanoid":"bin/nanoid.cjs"},"dist":{"shasum":"36c490fad8c6e86c824c940dfdde999b69ed4316","tarball":"http://registry-npm.ywwl.com/nanoid/download/nanoid-3.3.15.tgz","fileCount":25,"integrity":"sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA==","signatures":[{"sig":"MEYCIQC2Yp8vr1HP04X7lz6Jqjg9GS+Ap/4nTgT4a15EMvLzZgIhAMKCSqDZsfckokZJTFMnDpxNLDxNOuR2hGqoRS29mlet","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/nanoid@3.3.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24698,"size":5627,"noattachment":false,"key":"/nanoid/-/nanoid-3.3.15.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"},"react-native":"./index.browser.js"},"./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":"6819724a0ebe3d1980de66980f6bc5df4bf6a41f","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"ai","email":"andrey@sitnik.es"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:012e1798-4fc7-407a-b875-bbc877f0017d"}},"repository":{"url":"git+https://github.com/ai/nanoid.git","type":"git"},"_npmVersion":"11.16.0","description":"A tiny (116 bytes), secure URL-friendly unique string ID generator","directories":{},"sideEffects":false,"_nodeVersion":"26.3.1","react-native":"index.js","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/nanoid_3.3.15_1782077038729_0.376543316936093","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":1782077038804,"_cnpm_publish_time":1782077038804,"dist-tags":{"latest":"6.0.2","legacy":"3.3.20"}}