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 now-coffee with all npm packages installed. Try it out:

var nowCoffee = require("now-coffee")

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

now-coffee v0.1.0

Now Coffee

CoffeeScript builder for Now 2.0

Why Now Coffee ?

As of now, @now/node only compile NodeJS, compilation support for TypeScript is comes from ncc. At present it seems that, ncc cannot support CoffeeScript, this compiler provides the possibility of using CoffeeScript.


Just add now-coffee to your now.json:

  "version": 2,
  "builds": [{ "src": "", "use": "now-coffee" }],
  "routes": [{ "src": "/", "dest": "" }]

And your elegant coffee code (it's simple, huh?):

export default (req, res) -> res.end 'Hello from CoffeeScript on Now 2.0!'





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