chainy-core

1.6.0 • Public • Published

Chainy Core

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
Slack community badge Patreon donate button Gratipay donate button Flattr donate button PayPal donate button Bitcoin donate button Wishlist browse button

Perhaps the most awesome way of interacting with data using a chainable API

Install

NPM

  • Install: npm install --save chainy-core
  • Module: require('chainy-core')
  • Browserify

    • Install: npm install --save chainy-core
    • Module: require('chainy-core')
    • CDN URL: //wzrd.in/bundle/chainy-core@1.6.0
    • Ender

      • Install: ender add chainy-core
      • Module: require('chainy-core')
      • Editions

        This package is published with the following editions:

        • chainy-core aliases chainy-core/source/index.js
        • chainy-core/source/index.js is Source + ES5 + Require

        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!
            })

        History

        Discover the release history by heading on over to the HISTORY.md file.

        Contribute

        Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

        Backers

        Maintainers

        These amazing people are maintaining this project:

        Sponsors

        No sponsors yet! Will you be the first?

        Patreon donate button Gratipay donate button Flattr donate button PayPal donate button Bitcoin donate button Wishlist browse button

        Contributors

        These amazing people have contributed code to this project:

        Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

        License

        Unless stated otherwise all works are:

        and licensed under:

        Package Sidebar

        Install

        npm i chainy-core

        Weekly Downloads

        7

        Version

        1.6.0

        License

        MIT

        Last publish

        Collaborators

        • bevryme