All Projects → silverwind → precompress

silverwind / precompress

Licence: BSD-2-Clause license
Generate pre-compressed .gz and .br files for static web servers

Programming Languages

javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to precompress

Django Compression Middleware
Django middleware to compress responses using several algorithms.
Stars: ✭ 23 (-14.81%)
Mutual labels:  gzip, brotli
lambdafs
Efficient (de)compression package for AWS Lambda
Stars: ✭ 24 (-11.11%)
Mutual labels:  gzip, brotli
Express Security
nodejs + express security and performance boilerplate.
Stars: ✭ 37 (+37.04%)
Mutual labels:  gzip, brotli
restio
HTTP Client for Dart inspired by OkHttp
Stars: ✭ 46 (+70.37%)
Mutual labels:  gzip, brotli
Fusebox Angular Universal Starter
Angular Universal seed project featuring Server-Side Rendering, @fuse-box bundling, material, firebase, Jest, Nightmare, and more
Stars: ✭ 132 (+388.89%)
Mutual labels:  gzip, brotli
EasyCompressor
⚡ A compression library that implements many compression algorithms such as LZ4, Zstd, LZMA, Snappy, Brotli, GZip, and Deflate. It helps you to improve performance by reducing Memory Usage and Network Traffic for caching.
Stars: ✭ 167 (+518.52%)
Mutual labels:  gzip, brotli
Aspnetcore Request Decompression
HTTP request decompression middleware for ASP.NET Core
Stars: ✭ 51 (+88.89%)
Mutual labels:  gzip, brotli
gzipped
Replacement for golang http.FileServer which supports precompressed static assets.
Stars: ✭ 86 (+218.52%)
Mutual labels:  gzip, brotli
Express Static Gzip
Simple wrapper on top of serveStatic, that allows serving pre-gzipped files as well as other types of compressions.
Stars: ✭ 119 (+340.74%)
Mutual labels:  gzip, brotli
Fastify Compress
Fastify compression utils
Stars: ✭ 95 (+251.85%)
Mutual labels:  gzip, brotli
pyrus-cramjam
Thin Python wrapper to de/compression algorithms in Rust - lightweight & no dependencies
Stars: ✭ 40 (+48.15%)
Mutual labels:  gzip, brotli
Turbobench
Compression Benchmark
Stars: ✭ 211 (+681.48%)
Mutual labels:  gzip, brotli
restler
Restler is a beautiful and powerful Android app for quickly testing REST API anywhere and anytime.
Stars: ✭ 120 (+344.44%)
Mutual labels:  gzip, brotli
Archiver
Easily create & extract archives, and compress & decompress files of various formats
Stars: ✭ 3,373 (+12392.59%)
Mutual labels:  gzip, brotli
bundle
An online tool to quickly bundle & minify your projects, while viewing the compressed gzip/brotli bundle size, all running locally on your browser.
Stars: ✭ 475 (+1659.26%)
Mutual labels:  gzip, brotli
Connect Gzip Static
connect middleware for statically compressed files
Stars: ✭ 39 (+44.44%)
Mutual labels:  gzip, brotli
Nuxt Compress
A simple static asset compression module for Nuxt that runs Gzip and Brotli compression during the build process
Stars: ✭ 61 (+125.93%)
Mutual labels:  gzip, brotli
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+6688.89%)
Mutual labels:  gzip, brotli
restish
Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
Stars: ✭ 453 (+1577.78%)
Mutual labels:  gzip, brotli
nuxt-brotli
Nuxt.js module which compresses assets with Brotli compression algorithm using `iltorb` library for serving it with `ngx_brotli`
Stars: ✭ 19 (-29.63%)
Mutual labels:  brotli

precompress

Generate pre-compressed .gz and .br files for static web servers

Compresses files for use with web servers like nginx with the gzip_static and brotli_static directives. Files are compressed in parallel, using the available CPU cores efficiently. Existing output files will always be overridden.

Installation

npm i precompress

Usage

usage: precompress [options] <files,dirs,...>

  Options:
    -t, --types <type,...>   Types of files to generate. Default: gz,br
    -c, --concurrency <num>  Number of concurrent operations. Default: auto
    -i, --include <ext,...>  Only include given file extensions. Default: unset
    -e, --exclude <ext,...>  Exclude given file extensions. Default: apng,avif,br,gif,gz,jpg,png,webp
    -m, --mtime              Skip creating existing files when source file is newer
    -f, --follow             Follow symbolic links
    -s, --silent             Do not print anything
    -S, --sensitive          Treat include and exclude extensions case-sensitively
    -V, --verbose            Print individual file compression times
    -h, --help               Show this text
    -v, --version            Show the version

  Examples:
    $ precompress build

© silverwind, distributed under BSD licence

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].