Comparing version 0.1.0 to 0.1.1
{ | ||
"author": "Marco Murdocca (marco.murdocca@xenialab.it)", | ||
"name": "node-lzw", | ||
"description": "LZW algorithm implementation", | ||
"version": "0.1.0", | ||
"description": "LZW compression algorithm", | ||
"version": "0.1.1", | ||
"repository": { | ||
@@ -13,2 +13,5 @@ "type" : "git", | ||
"lzw", | ||
"Lempel", | ||
"Ziv", | ||
"Welch", | ||
"compression" | ||
@@ -15,0 +18,0 @@ ], |
LZW | ||
------------- | ||
This is LZW algorithm module | ||
This is LZW compression algorithm | ||
@@ -12,2 +12,18 @@ ## Install | ||
## Example | ||
```app.js | ||
"use strict"; | ||
var lzw = require("node-lzw"); | ||
var buffer = "qwertyuiopasdfghjklzxcvbnm1234567890"; | ||
var encode = lzw.encode(buffer); | ||
console.log(encode); | ||
var decode = lzw.decode(buffer); | ||
console.log(decode); | ||
``` | ||
## API | ||
@@ -14,0 +30,0 @@ |
2407
26961
41