Install with npm:
$ npm install --save @vesheff/enigma-utility
Works with strings or numbers.
const enigma = require('@vesheff/enigma-utility'); const filtered = enigma.filter([1, 2, 3], x => x > 2);
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm install && npm test
Copyright © 2019. Released under the MIT License.