var utils = require('@skivy71/utils')
// or destructure as needed...
var { random, string, sys } = require('@skivy71/utils')
string.capitalise('hElLo, wORld') // Hello, world
string.pad('34342', '0', -4) // str, pad, len - len as minus, infers prepend
random.number(10, 3142) // anywhere between 10 and 3142, inclusive
await sys.wait(1000) // wait 1000 ms
number.ordinal(23) // 23rd
-
Notifications
You must be signed in to change notification settings - Fork 0
skiv71/utils
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published