desudesutalk / bwtcjs

bwtc de/compressor extracted from compressjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bwtcjs

This is bwtc algorithm extracted from compressjs. Some obviously unneded parts of code was removed. Also MAGIC word was removed, so stream now starts from data size.

I did this specially for using bwtc compressor in browser, so main file of this repo is bwtc.min.js. This file was created with Closure Compiler by executing this command: java -jar closure-compiler-v20160713.jar -O ADVANCED --language_out ECMASCRIPT5_STRICT --js bwtc.js > bwtc.min.cc.js (with small changes to output done by hand).

From node.js bwtc.js can be required and also used. Also this file is not minified.

Originally compressjs was released under GPLv2 livense. So this code, i think, is also GPLv2.

License (GPLv2)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

bwtc de/compressor extracted from compressjs

License:GNU General Public License v2.0


Languages

Language:JavaScript 100.0%