# forge

> A no customization 'build' system

Latest version **2.3.0** (published 2014-11-23) · 0 weekly downloads

## Install

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

Provides the command `forge`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.3.0 |
| Published | 2014-11-23 |
| First published | 2011-05-30 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.0 |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Josh Perez |
| Maintainers | goatslacker |
| Keywords | build, compile, compress, lint, minify, typed, maven, preprocessor |

## Links

- npm: https://www.npmjs.com/package/forge
- Repository: https://github.com/goatslacker/forge
- Issues: https://github.com/goatslacker/forge/issues
- npm.io page: https://npm.io/package/forge

## Dependencies (5)

- [fu](https://npm.io/package/fu.md) *
- [subarg](https://npm.io/package/subarg.md) ^1.0.0
- [reactify](https://npm.io/package/reactify.md) *
- [jshintify](https://npm.io/package/jshintify.md) *
- [mangleify](https://npm.io/package/mangleify.md) *

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 2.3.0 (latest) — 2014-11-23
- 2.2.0 — 2013-11-18
- 2.1.0 — 2013-09-06
- 1.0.4 — 2011-06-16
- 1.0.3 — 2011-06-04
- 1.0.2 — 2011-05-31
- 1.0.0 — 2011-05-30

## README

# forge

## Install

    npm install forge -g

## What?

`Forge` has a pretty specific use case: you'd like to automate the application
of a set of transformations on a specific file.

If you're tired of writing the same [M|J|Sl|C]afiles over and over,
juggling command line scripts, node.js scripts, or even dealing with the
hassle of having a configuration file sitting in your file directory;
then this program is for you.

## Philosophy

* No configuration or build files you have to check-in to source control
* Simple command line interface
* Easy to program your own custom transformers
* Use existing transformers that work with [browserify](https://github.com/substack/node-browserify)

## Right tool for the job

If you need to automate all the things or love configuring then [grunt](http://gruntjs.com/)
is for you.

If you want something simple and powerful and don't mind programming some then
write a fucking Makefile.

## How?

    forge my_file.js transform1 transform2 transform3

Example, if you want to lint a file then mangle it:

    forge my_file.js jshintify mangleify

Outputs to stdout

> *Pro-tip*: you can include your forge command in the scripts section of your package.json file.

    "scripts": {
      "prepublish": "forge foo.js mangleify > build/foo.min.js"
    }

For more information see [npm scripts](https://npmjs.org/doc/scripts.html)

## Included plug-ins

* [jshintify](https://github.com/goatslacker/jshintify)
* [mangleify](https://github.com/goatslacker/mangleify)

## Available plug-ins

* [coffeeify](https://github.com/substack/coffeeify)
* [icsify](https://github.com/maxtaco/icsify)
* [caching-coffeeify](https://github.com/thlorenz/caching-coffeeify)
* [decomponentify](https://github.com/eugeneware/decomponentify)
* [debowerify](https://github.com/eugeneware/debowerify)
* [deAMDify](https://github.com/jaredhanson/deamdify)
* [hbsfy](https://github.com/epeli/node-hbsfy)
* [liveify](https://github.com/quarterto/liveify)
* [es6ify](https://github.com/thlorenz/es6ify)
* [turn](https://github.com/juliangruber/turn)

## License

[MIT](http://josh.mit-license.org)

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