A set of functions used for build and testing across projects


License
MIT
Install
npm install util.toolbox@0.0.83

Documentation

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