Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
amitesh11
/
pose
like
0
Runtime error
App
Files
Files
Community
369fac9
pose
/
web
/
node_modules
/
nanoid
/
nanoid.js
amitesh11
Upload 3019 files
369fac9
verified
10 months ago
raw
Copy download link
history
blame
Safe
169 Bytes
export
let
nanoid
=(
t=
21
)=>crypto.
getRandomValues
(
new
Uint8Array
(t)).
reduce
((
(
t,e
)=>
t+=(e&=
63
)<
36
?e.
toString
(
36
):e<
62
?(e-
26
).
toString
(
36
).
toUpperCase
():e<
63
?
"_"
:
"-"
),
""
);