browserify-server

v2.1.18
Browserify bundling + static server in one!

browserify-server build status

Spin up a quick & easy browserify server

Example Server

var handler = require("browserify-server")("./static")
    , http = require("http")
    , server = http.createServer(handler).listen(8080)

You now have a HTTP server listening on port 8080 that will server the index.html file in the static folder when you got to / and server the index.js file browserified when you go to /bundle.js

No more browserify boilerplate ever again!

Installation

npm install browserify-server

Tests

make test

Contributors

  • Raynos

MIT Licenced

npm i browserify-server

Metadata

Downloads

Maintainers