# @j0hnm4r5/utils.js

> A collection of Javascript utility functions

Latest version **1.1.5** (published 2018-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @j0hnm4r5/utils.js
pnpm add @j0hnm4r5/utils.js
yarn add @j0hnm4r5/utils.js
bun add @j0hnm4r5/utils.js
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2018-06-29 |
| First published | 2018-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | John Mars |
| Maintainers | j0hnm4r5 |

## Links

- npm: https://www.npmjs.com/package/@j0hnm4r5/utils.js
- Repository: https://github.com/j0hnm4r5/utils.js
- npm.io page: https://npm.io/package/@j0hnm4r5/utils.js

## Recent versions

- 1.1.5 (latest) — 2018-06-29
- 1.1.4 — 2018-06-01
- 1.1.3 — 2018-05-24
- 1.1.2 — 2018-05-24
- 1.1.1 — 2018-03-30
- 1.1.0 — 2018-03-29
- 1.0.4 — 2018-03-28
- 1.0.3 — 2018-03-22
- 1.0.2 — 2018-03-13
- 1.0.1 — 2018-03-13
- 1.0.0 — 2018-03-13

## README

# @j0hnm4r5/utils.js

[![CircleCI](https://img.shields.io/circleci/project/github/j0hnm4r5/utils.js.svg?style=flat-square)](https://circleci.com/gh/j0hnm4r5/utils.js)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
![code size in bytes](https://img.shields.io/github/languages/code-size/badges/shields.svg?style=flat-square)
[![gitmoji](https://img.shields.io/badge/gitmoji-%F0%9F%98%9C%F0%9F%98%8D-yellow.svg?style=flat-square)](https://gitmoji.carloscuesta.me/)
![license](https://img.shields.io/npm/l/express.svg?style=flat-square)

A collection of Javascript utility functions.

## Installation

**Yarn** (preferred):

`yarn add @j0hnm4r5/utils.js`

or **NPM**:

`npm install @j0hnm4r5/utils.js`

## Usage

Either import the entire library:

```javascript
import * as utils from "@j0hnm4r5/utils.js";

utils.convertRange(10, 0, 100, 0, 1000);
new utils.Noise();
utils.randomHexColor();
```

or import select functions:

```javascript
import { convertRange, Noise, randomHexColor } from "@j0hnm4r5/utils.js";

convertRange(10, 0, 100, 0, 1000);
new Noise();
randomHexColor();
```

## Development

### Testing

Run all tests at once with `yarn test`, develop your tests with `yarn test:watch`

### TODO

*   [ ] Add Documentation with JSDoc

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