as-nanoid
v1.0.0
Published
NanoID Implementation For AssemblyScript
Downloads
3
Readme
AS-NanoID
NanoID Implemtation For AssemblyScript
About
- Works With AssemblyScript
- Isomorphic (Browser/Node)
- No Dependencies
Installation
~ npm install as-nanoid --save
Usage
Basic Usage
import { nanoid } from 'as-nanoid'
const id = nanoid(21)
Notes
- Does Not Support Secure Random
API
nanoid(length: string)
Creates A NanoID String.