1.1.5 • Published 6 years ago

@j0hnm4r5/utils.js v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@j0hnm4r5/utils.js

CircleCI code style: prettier code size in bytes gitmoji license

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:

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

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

or import select functions:

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
1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago