JavaScript-oriented utilities for functional programming.
Functions with arity more than 1 are curried.
npm install @yurkimus/functions
"@yurkimus/functions": "npm:@yurkimus/functions"
"@yurkimus/functions": "github:yurkimus/functions"
"@yurkimus/functions": "https://raw.githubusercontent.com/yurkimus/functions/main/source/index.js"
Modules:
Runtime:
- Array.prototype.at
- Array.prototype.reduce
- Array.prototype.slice
- Array.prototype.[@@iterator]
- Function.prototype.bind
- Reflect.construct
- Optional chains (?.)