Skip to main content
The Deno 2 Release Candidate is here
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
sweetid
/
src
/
main.ts
Alphanumeric IDs, powered by Nano ID
Appsweet-co/sweetid
Version
Latest
0.14.1
0.14.0
0.13.0
0.12.0
0.11.1
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
Menu
main.ts
(default module)
f
sweetid
const.ts
T
SweetId
T
SweetIdSize
v
BLOCK_SIZE
v
BlockCount
v
CharSets
v
options
v
USAGE
utils.ts
f
generate
f
getIdLength
f
validate
import
*
as
sweetid
from
"https://deno.land/x/sweetid@0.14.1/src/main.ts"
;
Functions
f
sweetid