Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including declarative-promise with all npm packages installed. Try it out:

var declarativePromise = require("declarative-promise")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

declarative-promise v0.2.1

Behaves kinda like the es6 Promise api, but it doesn't actually *do* anything. It just produces a description of what is to be done, by someone else. At the moment, it's designed to work with the [redux-fetch](https://github.com/ashaffer/redux-fetch) middleware for redux. However, hopefully it can become something more general over time.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free