npm.io
0.0.86 • Published 6 years ago

util.toolbox

Licence
MIT
Version
0.0.86
Deps
3
Size
39 kB
Vulns
1
Weekly
0

util.toolbox

A set of utility functions used for build and testing across web projects.

build analysis code style: prettier testing NPM

Installation

This module uses yarn to manage dependencies and run scripts for development.

To install as a development application dependency:

$ yarn install --dev util.toolbox

To build the app and run all tests:

$ yarn run all

Usage

The toolbox contains the following functions:

It contains the following exposed variables:

  • isBrowser -- true if the runtime environment is the browser, otherwise false
  • isNode -- true if the runtime environement is NodeJS, otherwise false