fnxt
TypeScript icon, indicating that this package has built-in type declarations

1.21.1 • Public • Published

FNXT: Functional Extensions for JavaScript

CI npm version

FNXT Logo

  • 🚀 a functional JavaScript and TypeScript experience.
  • 🤗 does not mutate values
  • 🍎 a small footprint through tree shaking

Installation

npm i fnxt

Documentation

The API Documentation can be found here.

Example

import {filter, map} from 'fnxt/array';
import {pipe} from 'fnxt/pipe';

const composed = pipe(
  filter((x:number) => x % 2 !== 0),
  map((x:number) => x*2),
);

composed([1,2,3,4,5]); //-> [2,6,10]

Tested

Thoroughly tested and reliable. The code coverage can be found here.

Dependencies (1)

Dev Dependencies (28)

Package Sidebar

Install

npm i fnxt

Weekly Downloads

66

Version

1.21.1

License

MIT

Unpacked Size

580 kB

Total Files

1458

Last publish

Collaborators

  • mo-ba