UNPKG

bread-compressor-cli

Version:

CLI tool compressing static resources with Brotli, Zopfli (gzip) and Zstandard (zst)

6 lines (3 loc) 156 B
#!/usr/bin/env node import {compress} from './index.js'; compress('gzip').then(() => compress('brotli')).then(() => compress("zstd")).catch(console.log);