Hi, I'm happy to announce [Mincer][1] v0.2.0, a powerful web assets processor pipeline, that gives you freedom to right your assets using any languages/processor you like (Stylus, LESS, CoffeScript, EJS). More than that it gives you ability to put them in a pipeline (e.g. first compile as EJS, then as CoffeScript).
Mincer can be used as a stanalone CLI based assets processor:
```
$ mincer --include assets/javascript --include assets/stylesheets \
--output public/assets application.js application.css
```
Also it can be used programatically to build assets into directory
(same as above, but using API):
``` javascript
var env = new Mincer.Environment(__dirname);
env.appendPath('assets/javascripts');
env.appendPath('assets/stylesheets');
var manifest = new Mincer.Manifest(env.index);
var files = ['application.js', 'application.css'];
manifest.compile(files, function (err, manifest) {
// all done
});
```
Also it gives you a powerful http request handler that can be used as
a standalone server or connect/express endpoint:
```
connect.use('/assets/', Mincer.createServer(env));
```
You can see examples under examples directory in the [repo][2].
I would really appreciate any comments, bug reports, ideas. Feel free
to ask any questions you have about Mincer.
[1]: https://github.com/nodeca/mincer
[2]: https://github.com/nodeca/mincer/tree/master/examples
--
Sincerely yours,
Aleksey V. Zapparov A.K.A. ixti
FSF Member #7118
Mobile Phone: +34 677 990 688
Homepage: http://www.ixti.net
JID: [email protected]
*Origin: Happy Hacking!
signature.asc
Description: PGP signature
