Perhaps the most awesome way of interacting with data using a chainable API
- Install:
npm install --save chainy-core
- Module:
require('chainy-core')
- Install:
npm install --save chainy-core
- Module:
require('chainy-core')
- CDN URL:
//wzrd.in/bundle/[email protected]
- Install:
ender add chainy-core
- Module:
require('chainy-core')
This package is published with the following editions:
chainy-core
aliaseschainy-core/source/index.js
chainy-core/source/index.js
is Source + ES5 + Require
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:
- Copyright © 2014+ Bevry Pty Ltd
and licensed under: