# stitchw

> Stitch your CommonJS modules together for the browser + less, css, json and Windows compatibility.

Latest version **0.5.20** (published 2015-06-19) · 0 weekly downloads

## Install

```sh
npm install stitchw
pnpm add stitchw
yarn add stitchw
bun add stitchw
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.20 |
| Published | 2015-06-19 |
| First published | 2012-02-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sabinmarcu |

## Links

- npm: https://www.npmjs.com/package/stitchw
- Repository: https://github.com/sstephenson/stitch
- Issues: https://github.com/sstephenson/stitch/issues
- npm.io page: https://npm.io/package/stitchw

## Dependencies (2)

- [async](https://npm.io/package/async.md) >=0.1.15
- [underscore](https://npm.io/package/underscore.md) >=1.1.3

## Recent versions

- 0.5.20 (latest) — 2015-06-19
- 0.5.18 — 2015-03-09
- 0.5.17 — 2015-02-16
- 0.5.16 — 2014-04-24
- 0.4.16 — 2014-03-17
- 0.3.16 — 2014-02-28
- 0.3.15 — 2013-07-16
- 0.3.12 — 2013-05-10
- 0.3.10 — 2013-04-08
- 0.3.9 — 2013-03-15
- 0.3.8 — 2013-01-10
- 0.3.7 — 2012-07-03
- 0.3.6 — 2012-06-28
- 0.3.5 — 2012-06-28
- 0.3.4 — 2012-02-06

## README

<img src="https://github.com/downloads/sstephenson/stitch/logo.jpg"
width=432 height=329>

Develop and test your JavaScript applications as CommonJS modules in
Node.js. Then __Stitch__ them together to run in the browser.

    npm install stitch

Bundle code in lib/ and vendor/ and serve it with [Express](http://expressjs.com/):

    var stitch  = require('stitch');
    var express = require('express');

    var package = stitch.createPackage({
      paths: [__dirname + '/lib', __dirname + '/vendor']
    });

    var app = express.createServer();
    app.get('/application.js', package.createServer());
    app.listen(3000);

Or build it to a file:

    var stitch  = require('stitch');
    var fs      = require('fs');

    var package = stitch.createPackage({
      paths: [__dirname + '/lib', __dirname + '/vendor']
    });

    package.compile(function (err, source){
      fs.writeFile('package.js', source, function (err) {
        if (err) throw err;
        console.log('Compiled package.js');
      })
    })

---
_Source: https://npm.io/package/stitchw · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
