readme update

This commit is contained in:
Vitaly Puzrin 2014-04-09 20:04:59 +04:00
parent 5aa5770a29
commit 2a6f0fd4bb

View file

@ -7,12 +7,20 @@ __Why pako is cool:__
- Almost as fast in modern JS engines as C implementation (see benchmarks). - Almost as fast in modern JS engines as C implementation (see benchmarks).
- Works in browsers, you can browserify any separate component. - Works in browsers, you can browserify any separate component.
- Both Sync & streamable (for big blobs) interfaces. - Chunking support for big blobs.
- It's fresh - ports the latest zlib version (now 1.2.8), results are binary equal. - Results are binary equal to well known [zlib](http://www.zlib.net/) (now v1.2.8 ported).
This project was done to understand how fast JS can be and is it necessary to This project was done to understand how fast JS can be and is it necessary to
develop native C modules for CPU-intensive tasks. Enjoy the result! develop native C modules for CPU-intensive tasks. Enjoy the result!
__Famous projects, using pako:__
- [browserify](http://browserify.org/) (via [browserify-zlib](https://github.com/devongovett/browserify-zlib))
- [JSZip](http://stuk.github.io/jszip/)
- [mincer](https://github.com/nodeca/mincer)
__Benchmarks:__ __Benchmarks:__
``` ```
@ -107,7 +115,7 @@ var output = inflator.result;
``` ```
Sometime you can with to work with strings. For example, to send Sometime you can wish to work with strings. For example, to send
big objects as json to server. Pako detects input data type. You can big objects as json to server. Pako detects input data type. You can
force output to be string with option `{ to: 'string' }`. force output to be string with option `{ to: 'string' }`.