$ npm install chainy-core
Perhaps the most awesome way of interacting with data using a chainable API
npm install --save chainy-core
require('chainy-core')
npm install --save chainy-core
require('chainy-core')
//wzrd.in/bundle/chainy-core@1.6.0
ender add chainy-core
require('chainy-core')
This package is published with the following editions:
chainy-core
aliases chainy-core/source/index.js
chainy-core/source/index.js
is Source + ES5 + RequireFind the complete documentation for Chainy at the wiki
// chainy install set map swap
var Chainy = require('chainy-core').subclass().require('set', 'map', 'swap')
Chainy.create()
.set(['some', 'data'])
.map(function (item, next) {
return next(null, item.toUpperCase())
})
.swap(function (item, next) {
return next(null, item.join(' ') + '!')
})
.done(function (err, result) {
if (err) throw err
console.log('result:', result) // result: SOME DATA!
})
Discover the release history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
and licensed under:
© 2010 - cnpmjs.org x YWFE | Home | YWFE