Skip to content

Simple app with examples how to use streams with brotli compression in node

Notifications You must be signed in to change notification settings

linoyzaga/streams-brotli-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stream with brotli in Node.js

Getting Started

  1. Clone this repository using HTTP:

    git clone https://github.com/linoyzaga/streams-brotli-node.git

  2. Go to the repository library: cd streams-brotli-node

  3. Un-comment the example you want to explore.

  4. Strat the server

    yarn start

That's it, you are all set!

Project Structure

Breaking down the basic structure and the configurations

src/
  data
    brotliCompressedData.txt.br // compressed file with brotli, just for example
    brotliDecompressedData.txt  // decompressed file with brotli, just for example
    readFileData.txt            // file to read from, just for example
    writeFileData.txt           // file to write to, just for example
  brotliStream.js               // exmaple how to write streams with brotli
  pipeStream.js                 // exmaple how to write streams with pipe
  readStream.js                 // exmaple how to write reable stream
  writeStream.js                // exmaple how to write writable stream
.gitignore                      // github's default node gitignore with customizations
index.js                        // server's strart point
package.json                    // common dev deps and workspace-wide scripts
README.md                       // workspace-wide information. shown in github

ForTheBadge built-with-love

About

Simple app with examples how to use streams with brotli compression in node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published