Lightweight util for your Node.js and browser apps
MIT License
Bot releases are hidden (Show)
Published by ndaidong 8 months ago
Published by ndaidong over 1 year ago
standardjs
)Published by ndaidong about 2 years ago
Published by ndaidong about 2 years ago
Note: This version does not work with vite/svelte. It will be deprecated.
genid()
to mix both crypto.getRandomValues()
and Math.random()
.randint()
based on crypto.getRandomValues()
sha256()
and sha512()
methodscrypto
util)Published by ndaidong about 2 years ago
Published by ndaidong about 2 years ago
Improve string's methods: truncate
, stripTags
, stripAccent
...
Published by ndaidong about 2 years ago
Published by ndaidong about 2 years ago
equals
methodPublished by ndaidong over 2 years ago
Published by ndaidong over 2 years ago
Published by ndaidong over 2 years ago
Published by ndaidong almost 3 years ago
gcc-min
with esbuild
md5()
methodIntl
now()
, time()
, toRelativeTime()
, toDateString()
, toLocalDateString()
, toUTCDateString()
formatDateString()
and formatTimeAgo()
, view docs
Published by ndaidong almost 3 years ago
Published by ndaidong almost 3 years ago
md5()
methodIntl
now()
, time()
, toRelativeTime()
, toDateString()
, toLocalDateString()
, toUTCDateString()
formatDateString()
and formatTimeAgo()
, view docs
Published by ndaidong almost 3 years ago
gcc-min
with esbuild
Published by ndaidong almost 3 years ago
pick()
methodBefore v10.0.0:
pick(Integer count, Array arr)
v10.0.0:
pick(Array arr [, Integer count = 1])
sortBy()
methodBefore v10.0.0:
sortBy(String property, Number order, Array a)
v10.0.0:
sortBy(Array a, Number order, String property)
Published by ndaidong almost 3 years ago
pick()
methodBefore v10.0.0:
pick(Integer count, Array arr)
v10.0.0:
pick(Array arr [, Integer count = 1])
sortBy()
methodBefore v10.0.0:
sortBy(String property, Number order, Array a)
v10.0.0:
sortBy(Array a, Number order, String property)
Published by ndaidong over 3 years ago
Published by ndaidong almost 4 years ago