@stein197/util
v2.5.0
Published
Handy JavaScript utilities
Downloads
10
Readme
Handy utilities
The package is a simple bunch of useful utilities
Installation
npm install @stein197/util
API
To include the module, import it like this:
import * as moduleName from "@stein197/util/moduleName";
// or
const moduleName = require("@stein197/util/moduleName");
Modules
array
char
KeyboardCode
file
html
json
mime
object
PendingPromise
PromiseState
semver
string
time
util
NOTE: For more detailed documentation, please, refer to the TSDoc comments in the source code.
npm scripts
build
- Runclean
,test
andts
clean
- Clean the working directory from compiled filestest
- Run unit teststs
- Compile the projectts:check
- Run TypeScript validation without compiling