JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3649485
  • Score
    100M100P100Q194024F

A flow control lib small enough to fit on in a slide presentation. Derived live at Oak.JS

Package Exports

  • slide
  • slide/lib/async-map

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (slide) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Slide - a tiny flow control library

Callbacks are simple and easy if you keep the pattern consistent.

Check out the slide presentation.

You'll laugh when you see how little code is actually in this thing. It's so not-enterprisey, you won't believe it. It does almost nothing, but it's super handy.

I actually use an earlier version of this util in a real world program.

Installation

Just copy the files into your project, and use them that way, or you can do this:

npm install slide

and then:

var asyncMap = require("slide").asyncMap
  , chain = require("slide").chain
// use the power!

Enjoy!