mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-05-04 10:33:48 +01:00
readme update
This commit is contained in:
parent
5aa5770a29
commit
2a6f0fd4bb
1 changed files with 11 additions and 3 deletions
14
README.md
14
README.md
|
@ -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' }`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue