# util.toolbox

> A set of functions used for build and testing across projects

Latest version **0.0.86** (published 2019-12-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install util.toolbox
pnpm add util.toolbox
yarn add util.toolbox
bun add util.toolbox
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.86 |
| Published | 2019-12-13 |
| First published | 2017-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=7.x |
| Dependencies | 3 |
| Unpacked size | 39.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | jmquigley |
| Maintainers | jmquigley |

## Links

- npm: https://www.npmjs.com/package/util.toolbox
- Repository: https://github.com/jmquigley/util.toolbox
- Homepage: https://github.com/jmquigley/util.toolbox#readme
- Issues: https://github.com/jmquigley/util.toolbox/issues
- npm.io page: https://npm.io/package/util.toolbox

## Dependencies (3)

- [uuid](https://npm.io/package/uuid.md) ^3.3.3
- [util.rstrip](https://npm.io/package/util.rstrip.md) 0.0.58
- [util.constants](https://npm.io/package/util.constants.md) ^0.0.30

## Recent versions

- 0.0.86 (latest) — 2019-12-13
- 0.0.85 — 2019-12-12
- 0.0.84 — 2019-12-11
- 0.0.83 — 2019-06-14
- 0.0.82 — 2019-06-14
- 0.0.81 — 2019-06-13
- 0.0.80 — 2019-05-11
- 0.0.79 — 2019-05-03
- 0.0.78 — 2019-04-16
- 0.0.77 — 2019-04-10
- 0.0.76 — 2019-04-10
- 0.0.75 — 2019-04-10
- 0.0.74 — 2019-03-12
- 0.0.73 — 2019-03-07
- 0.0.72 — 2019-03-01
- … 71 more at https://npm.io/package/util.toolbox/versions

## README

# util.toolbox

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

[![build](https://github.com/jmquigley/util.toolbox/workflows/build/badge.svg)](https://github.com/jmquigley/util.toolbox/actions)
[![analysis](https://img.shields.io/badge/analysis-tslint-9cf.svg)](https://palantir.github.io/tslint/)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![testing](https://img.shields.io/badge/testing-jest-blue.svg)](https://facebook.github.io/jest/)
[![NPM](https://img.shields.io/npm/v/util.toolbox.svg)](https://www.npmjs.com/package/util.toolbox)


## Installation

This module uses [yarn](https://yarnpkg.com/en/) 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:

- [closestNumber](docs/index.md#closestNumber)
- [getRandomInt](docs/index.md#getRandomInt)
- [getRandomIntInclusive](docs/index.md#getRandomIntInclusive)
- [getUUID](docs/index.md#getUUID)
- [nil](docs/index.md#nil)
- [nilEvent](docs/index.md#nilEvent)
- [objFindKeyByValue](docs/index.md#objFindKeyByValue)
- [objHasValue](docs/index.md#objHasValue)
- [roundUp](docs/index.md#roundUp)
- [sanitize](docs/index.md#sanitize)

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

---
_Source: https://npm.io/package/util.toolbox · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
