arslib

0.1.11 • Public • Published

Andre's JavaScript Utility library

Usage example:

(browser import) -> import {Util} from '<relative_path_to_node_modules>/arslib/util/util.js' (node import) -> import {Util} from 'arslib'

console.log(Util.limitValueToMinMax(10, 5, 11))

Importing

To check wich files you can import, look into index.js, in the package root folder.

NPM package page

(https://www.npmjs.com/package/arslib)[https://www.npmjs.com/package/arslib]

NPM package installation

npm install arslib

Run tests

npm test

Creating new tests

Remember to add

Assert.testMode = true;

at the beginning of your test file. This allows node process to fail when an assertion fails. So the test script knows when a test has failed.

/arslib/

    Package Sidebar

    Install

    npm i arslib

    Weekly Downloads

    337

    Version

    0.1.11

    License

    MIT

    Unpacked Size

    61.2 kB

    Total Files

    36

    Last publish

    Collaborators

    • andrers52