package
Pretty Naive
npm install esmallGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
a simple minifier for for es+ code
Just a little wrapper around babili
$ npm install --global esmall
$ esmall input.js // output to stdout
$ esmall input.js -o output.min.js // output to file
$ cat path/to/file.js | esmall > this-works.min.jsvar Esmall = require('esmall');
var esmall = new Esmall({
// put babili options here
});
var minified = esmall.minify('code');var fs = require('fs');
var Esmall = require('esmall');
var esmall = new Esmall({
// put babili options here
});
fs.createReadStream('path/to/file.js')
.pipe(esmall)
.pipe(process.stdout);I know 🎉
Apache v2.0
mylesborins
myles.borins@gmail.com
Estimated unpacked size across 64 packages.
3.5 MB+
Includes dependencies.
7 direct · 6 outdated
^1.1.2
7.0.15
^1.0.1
3.0.4
^1.1.3
6.0.1
^6.5.0
18.2.0
^6.21.0
6.26.3
^1.5.2
2.0.0
0.0.9
0.1.4