Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chainyjs/chainy
The chainy core + autoloader plugin
https://github.com/chainyjs/chainy
async builtwith-taskgroup chainy chainy-lib flow-based-programming flow-control
Last synced: about 1 month ago
JSON representation
The chainy core + autoloader plugin
- Host: GitHub
- URL: https://github.com/chainyjs/chainy
- Owner: chainyjs
- License: other
- Created: 2014-05-03T18:22:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-11T09:55:19.000Z (over 8 years ago)
- Last Synced: 2024-08-01T12:20:51.265Z (4 months ago)
- Topics: async, builtwith-taskgroup, chainy, chainy-lib, flow-based-programming, flow-control
- Language: CoffeeScript
- Homepage: https://github.com/chainyjs/chainy/wiki
- Size: 81.1 KB
- Stars: 78
- Watchers: 8
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-starred - chainyjs/chainy - The chainy core + autoloader plugin (others)
README
# Chainy
[![Build Status](http://img.shields.io/travis-ci/chainyjs/chainy.png?branch=master)](http://travis-ci.org/chainyjs/chainy "Check this project's build status on TravisCI")
[![NPM version](http://badge.fury.io/js/chainy.png)](https://npmjs.org/package/chainy "View this project on NPM")
[![Dependency Status](https://david-dm.org/chainyjs/chainy.png?theme=shields.io)](https://david-dm.org/chainyjs/chainy)
[![Development Dependency Status](https://david-dm.org/chainyjs/chainy/dev-status.png?theme=shields.io)](https://david-dm.org/chainyjs/chainy#info=devDependencies)
[![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/bevry/ "Donate weekly to this project using Gittip")
[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin")
[![Wishlist browse button](http://img.shields.io/wishlist/browse.png?color=yellow)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us")Perhaps the most awesome way of interacting with data using a chainable API
## Install
### [NPM](http://npmjs.org/)
- Use: `require('chainy')`
- Install: `npm install --save chainy`### [Browserify](http://browserify.org/)
- Use: `require('chainy')`
- Install: `npm install --save chainy`
- CDN URL: `//wzrd.in/bundle/[email protected]`### [Ender](http://ender.jit.su/)
- Use: `require('chainy')`
- Install: `ender add chainy`## Usage
[Find the complete documentation for Chainy at the wiki](https://github.com/chainyjs/chainy/wiki)
``` javascript
// chainy install set map swap
require('chainy').create()
.set(['some', 'data'])
.map(function(item, next){
return next(null, item.toUpperCase())
})
.action(function(item, next){
return next(null, item.join(' ')+'!')
})
.done(function(err, result){
if (err) throw err
console.log('result:', result) // result: SOME DATA!
})
```## History
[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/chainyjs/chainy/blob/master/HISTORY.md#files)## Contribute
[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/chainyjs/chainy/blob/master/CONTRIBUTING.md#files)
## Backers
### Maintainers
These amazing people are maintaining this project:
- Benjamin Lupton (https://github.com/balupton)
### Sponsors
No sponsors yet! Will you be the first?
[![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/bevry/ "Donate weekly to this project using Gittip")
[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")
[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin")
[![Wishlist browse button](http://img.shields.io/wishlist/browse.png?color=yellow)](http://amzn.com/w/2F8TXKSNAFG4V "Buy an item on our wishlist for us")### Contributors
These amazing people have contributed code to this project:
- [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/chainyjs/chainy/commits?author=balupton)
[Become a contributor!](https://github.com/chainyjs/chainy/blob/master/CONTRIBUTING.md#files)
## License
Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://creativecommons.org/licenses/MIT/)
Copyright © 2014+ Bevry Pty Ltd (http://bevry.me)