Utils
General purpose utilities for Bluejay modules.
Requirements
-
node >= 8.6
, tested with:node@8.6.0
node@12.8.1
-
typescript >= 4.0
, tested with:typescript@4.0.2
Installation
npm i @bluejay/utils [--save]
Usage
import * as Utils from '@bluejay/utils';
Utils.makeArray(1); // [1]
Using the name export.
import { Utils } from '@bluejay/utils';
Utils.makeArray(1); // [1]
Or directly.
import { makeArray } from '@bluejay/utils';
makeArray(1); // [1]
Documentation
See Github Pages.