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

var nodeCloudworker = require("node-cloudworker")

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

node-cloudworker v1.1.3

A local dev environment for cloudflare workers

The node-cloudworker is a cloudflare worker shim for node combined with a small webserver, enabling debugging locally. It should not be used in production.

It's most likely not as close to the production environment as, which most of the runtime has been borrowed from, but it makes debugging and testing possible.


Installing via NPM:

npm install node-cloudworker --save

Package Usage

const ncw = require('node-cloudworker');

// Some handlers may depend on the shims

const handler = event => {
    return new Response('hello', { status: 200 });




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