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
simple with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Simple is a binary created using Node.js that clones some of the functionality of Python's
simpleHttpServer. It's a rather naive and simple static HTTP server, but it gets the job done in a pinch. Please don't use this in production... it's a development tool. Really.
npm install -g simple
cd /my/awesome/website simple
Serving HTTP on 0.0.0.0 port 8000 ...
-p Port to listen on (defaults to 8000)
-h Hostname to listen on (defaults to 127.0.0.1)
-d Default index (defaults to
-s Silent mode