Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (11 sloc) 0.5 kB
59f5fa8 @sstephenson Logo
sstephenson authored
1 <img src="https://github.com/downloads/sstephenson/stitch/logo.jpg"
2 width=432 height=329>
ea9a37f @sstephenson Initial commit
sstephenson authored
3
4 Develop and test your JavaScript applications as CommonJS modules in
5 Node.js. Then __Stitch__ them together to run in the browser.
8d00487 @sstephenson Add an Express example
sstephenson authored
6
7 var stitch = require('stitch');
8 var express = require('express');
9
10 var package = stitch.createPackage({
11 paths: [__dirname + '/lib', __dirname + '/vendor']
12 });
13
14 var app = express.createServer();
15 app.get('/application.js', package.createServer());
Something went wrong with that request. Please try again.