😊 pure-fun
A collection of JavaScript pure functions/helpers with zero dependencies.
Installing
npm install pure-funyarn add pure-fun
Usage
;const mapArr = PureFunarrays; ;const rnd = arrays ;async { await ; console};
Development
The dev env for this is Node LTS/latest with ESM (import/export) syntax as a standard. Typescript is used to ensure type safety + documentation Linting is done with eslint and testing with jest.
You can run tests locally with npm t
. Every PR also builds on Travis CI under these circumstances.