Skip to content
Serve modules directly from your Node.js require path to the browser.
JavaScript
Find file
Latest commit f7cd858 Jul 27, 2013 @bigeasy Upgrade Proof to 0.0.33.
Closes #9.
Failed to load latest commit information.
t/request Upgrade Proof to 0.0.32. Jul 11, 2013
.gitignore User specified `require`. Jan 5, 2013
.travis.yml Test against Node.js 0.10 at Travis CI. Apr 17, 2013
CONTRIBUTING.md Add contribution guide. Mar 20, 2013
LICENSE Update `LICENSE` date range. Mar 20, 2013
README.md
index.js
package.json Upgrade Proof to 0.0.33. Jul 27, 2013

README.md

Connect NPM Build Status

Serve modules directly from your Node.js require path to the browser.

Usage

var connect = require('connect');

var app = connect()
  .use(connect.logger('dev'))
  .use(connect.static('public'))
  .use(require('connect-npm')({
    modules: [ "reactor", "stencil", "stencil/resolver" ],
    format: "/npm/%s.js"
  });
  .listen(7654);
Something went wrong with that request. Please try again.