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 400,000 packages pre-installed, including essential-riot with all npm packages installed. Try it out:

essential-riot lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("essential-riot/[??]")

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

essential-riot v0.1.0

A minimal skeleton for building testable Riot apps using ES7 async function

#Essential Riot

A minimal skeleton for building testable Riot apps using ES7 async function

start

  1. npm start
  2. open http://localhost:5555
  3. login with username oyang and password lulu

test

npm test

Howdy, async function, Bye, Flux

async function(){
  var todo = await db.getItems();
  this.title = todo.title
  this.items = todo.items;
  this.update();
})
  • http://git.io/js-csp
  • http://blog.oyanglul.us/javascript/clojure-core.async-essence-in-native-javascript.html
  • http://swannodette.github.io/2013/08/24/es6-generators-and-csp
  • http://talks.golang.org/2012/concurrency.slide
  • http://wiki.ecmascript.org/doku.php?id=strawman:async_functions
  • http://taskjs.org/
  • http://sweetjs.org/
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