chainy-core
v1.6.0
Published
Perhaps the most awesome way of interacting with data using a chainable API
Downloads
1,666
Maintainers
Readme
Perhaps the most awesome way of interacting with data using a chainable API
NPM
Browserify
Ender
Usage
Find 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: