@stein197/util

2.5.0 • Public • Published

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 - Run clean, test and ts
  • clean - Clean the working directory from compiled files
  • test - Run unit tests
  • ts - Compile the project
  • ts:check - Run TypeScript validation without compiling

Readme

Keywords

Package Sidebar

Install

npm i @stein197/util

Weekly Downloads

1

Version

2.5.0

License

MIT

Unpacked Size

211 kB

Total Files

47

Last publish

Collaborators

  • stein197