pipeish

0.0.1 • Public • Published

LambdaJS

The full ECMAScript API done a functional way.

RULES

  1. The data comes last. E.g: str.method(arg) -> method(arg, str)
  2. Everything is curried
  3. Functions with optional arguments are split into two functions. One with _ at the end that takes the options. E.g: indexOf(x,str) & indexOf_(x,y,str)
  4. Every function is pure

Thanks so much to @casperin for doing a ton of the work on this!

USAGE

In the browser

<script src="utils.js"></script>
<script src="lambda.js"></script>
<script>LambdaJS.expose();</script> 

In node

npm install lambda
require('pipeish');
LambdaJS.expose();

Readme

Keywords

none

Package Sidebar

Install

npm i pipeish

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • tlevine