1.1.1 • Published 8 years ago

f.luent v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

f.luent

Zero-dependencies Fluent Javascript Control Flow

Fluent is my personal attempt at simplifying and making more readable the control flow of a Javascript program, by only using methods and exploiting chaining whenever it's possible.

Installation

npm install f.luent

Example Usage

var f = require('f.luent');

// ...

f.from(array)
.where({prop1: 'val1'})
.then(function(item, stop)
{
    console.log('item: %s', JSON.stringify(item));

    stop(); // eventually decide to stop processing results
})
.otherwise(function(err)
{
    console.log(err);
});
1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.6.6

9 years ago

0.6.4

9 years ago

0.6.2

9 years ago

0.6.0

9 years ago

0.4.0

9 years ago

0.1.0

9 years ago