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

var prototypeServer = require("prototype-server")

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

prototype-server v0.3.2

a simple file server that can be infinitely extended using hooks


a simple file-server which is well-fitted for delivering static prototypes / html-pages


npm -g install prototype-server




configuration takes place in the .prototype-server.config file in your home-directory. But since you can't deliver files in the home-folder (or at least i do not know how -yet), you have to run the server at least once.

it starts per default on port "8080", and actually my docroot. this is actually the only thing you have to configure.

just adjust the docroot, and port and your good to go.


the hooks can adjust the way the files and folders are displayed. you can write your own, and turn certain on or off.

just play around with it, if you want to get to know the effect

As soon as I have time, I will document them.


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