zpipe is not a pipe.
The famous pipe. How people reproached me for it! And yet, could you stuff my pipe? No, it's just a representation, is it not? So if I had written on my picture "This is a pipe," I'd have been lying!
<script> include ...
With require() ...
var zpipe = require"zpipe";var deflated = zpipedeflate"the balloon";var inflated = zpipeinflatedeflated; // "the balloon"
Install the package with npm.
$ npm install zpipe
Alternatively just add it to your Ender packages.
$ ender add zpipe
Ok 201 KB for
zpipe.min.js is big, however it comes in at 57.6 KB gzipped. This is acceptable.
Test against node zlib:
$ make test # Run the tests
Run the test in the browser by pointing your browser to
z'pipe operates on octet strings only, UTF-16 characters will have their high byte masked.