0.7.1 • Published 9 years ago

cheese v0.7.1

Weekly downloads
30
License
MIT
Repository
-
Last release
9 years ago

cheese

Express middleware that serves a browserified javascript file.

// server.js

var express = require('express');
var cheese = require('cheese');
var path = require('path');

var app = express();

app.use('/', cheese(path.join(__dirname, 'client.js')));

app.listen(3000);
// client.js
var _ = require('lodash');

document.write('hello');

Look in the example directory for a slightly more involved example.

API

cheese(path)

Produce a middleware that will browserify and serve the script at path.

Installation

$ npm install --save cheese

License

MIT License. See ./LICENSE for details.

0.7.1

9 years ago

0.7.0

9 years ago

0.6.62

10 years ago

0.6.61

10 years ago

0.6.6

10 years ago

0.6.51

10 years ago

0.6.5

10 years ago

0.6.0

10 years ago

0.5.5

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago