|
|
3 hafta önce | |
|---|---|---|
| .. | ||
| bin | 3 hafta önce | |
| non-secure | 3 hafta önce | |
| url-alphabet | 3 hafta önce | |
| LICENSE | 3 hafta önce | |
| README.md | 3 hafta önce | |
| index.browser.js | 3 hafta önce | |
| index.d.ts | 3 hafta önce | |
| index.js | 3 hafta önce | |
| nanoid.js | 3 hafta önce | |
| package.json | 3 hafta önce | |
<img src=“https://ai.github.io/nanoid/logo.svg” align=“right”
alt="Nano ID logo by Anton Lovchikov" width="180" height="94">
English | 日本語 | Русский | 简体中文 | Bahasa Indonesia | 한국어 | العربية
A tiny, secure, URL-friendly, unique string ID generator for JavaScript.
“An amazing level of senseless perfectionism, which is simply impossible not to respect.”
A-Za-z0-9_-).
So ID size was reduced from 36 to 21 symbols.import { nanoid } from 'nanoid'
model.id = nanoid() //=> "V1StGXR8_Z5jdHi6B-myT"
Made at Evil Martians, product consulting for developer tools.
Read full docs here.