Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/billiegoose/deflate-cli

A CLI utility for deflating streams with the `deflate` algorithm
https://github.com/billiegoose/deflate-cli

Last synced: 24 days ago
JSON representation

A CLI utility for deflating streams with the `deflate` algorithm

Awesome Lists containing this project

README

        

# deflate-cli
A CLI utility for compressing streams with `deflate` algorithm

## Install

```sh
npm i -g deflate-cli
```

(Note: the bin is named `deflate` not `deflate-cli`.)

## Use

You can either pipe the file (preferred) or specify the file name as a command line argument.

```sh
cat somefile | deflate
```

or

```sh
deflate somefile
```