[go: nahoru, domu]

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

0.8.17 • Public • Published

pareto.js

A small trully functional utility library that only has what you really need.

build status code climate test coverage npm version npm downloads

Advantages

  1. Lightweight

  2. Functional

  • Only pure functions
  • No side-effects
  • Encourages immutability
  • Auto-curried methods
  1. Better and smaller API

  2. Made with the newest stuff:

  • ES6
  • Babel
  • Webpack

Installation

To install the stable version:

npm install --save paretojs

This assumes that you’re using npm with a module bundler like Webpack

How

Import pareto.js:

import _ from 'paretojs'

And use it:

const myArray = [1, 2, 3]
const newArray = _.remove(myArray, 2)

console.log(newArray) // [1, 2]

Docs

Package Sidebar

Install

npm i paretojs@0.8.17

Version

0.8.17

License

MIT

Last publish

Collaborators

  • concretesolutions
  • matheusml