# naivefp

> A naive implementation of functional library for JavaScript programmers

Latest version **1.2.0** (published 2017-04-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install naivefp
pnpm add naivefp
yarn add naivefp
bun add naivefp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2017-04-22 |
| First published | 2017-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Stoyan Delev |
| Maintainers | mutebg |

## Links

- npm: https://www.npmjs.com/package/naivefp
- Repository: https://github.com/mutebg/naive-fp
- Homepage: https://github.com/mutebg/naive-fp#readme
- Issues: https://github.com/mutebg/naive-fp/issues
- npm.io page: https://npm.io/package/naivefp

## Recent versions

- 1.2.0 (latest) — 2017-04-22
- 1.1.0 — 2017-04-16
- 1.0.0 — 2017-04-16

## README

# naivefp

A naive implementation of functional library for JavaScript programmers


## Installation

This module is distributed via [npm][npm] which is bundled with [node][node] and
should be installed as one of your project's `dependencies`:

```
npm install --save naivefp
```

## Usage
Functions list:
`log`, `map`, `filter`, `reduce`, `reduceRight`, `head`, `last`, `tail`,
`compose`, `pipe`, `curry`, `concat`, `reverse`, `length`, `min` &  `max`


```html
import { map, filter, curry} from 'naivefp';

const double = map( x => x * 2 );
double([1,2,3]);

```


Functions have fixed arities to support auto-currying:
`map`, `filter`, `reduce`, `reduceRight`







## Inspiration



## Other Solutions

I'm not aware of any, if you are please [make a pull request][prs] and add it
here!

---
_Source: https://npm.io/package/naivefp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
