forked from kriskowal/zip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.0.4 updated dependencies, newless constructor, inflate at top
- Loading branch information
Kris Kowal
committed
Aug 12, 2011
1 parent
fec7f6c
commit 2c53008
Showing
8 changed files
with
44 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# 0.0.4 | ||
|
||
- Updated dependencies. | ||
- Reader no longer requires ``new`` keyword | ||
- ``inflate`` module now at the root | ||
|
||
# 0.0.3 | ||
|
||
- Fixed for NPM 1.0 | ||
|
||
# 0.0.2 | ||
|
||
- Removed a spurious buffer-io file that was confusing the | ||
new Node module search algorithm. | ||
|
||
# 0.0.1 | ||
|
||
- fixed a dependency on q-io | ||
|
||
# 0.0.0 | ||
|
||
- ported from Tom Robinson's | ||
<https://github.com/tlrobinson/zipjs> for Narwhal. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
|
||
var ZIP = require("zip"); | ||
var data = new Buffer(...); | ||
var reader = new ZIP.Reader(data); | ||
reader.toObject(charset_opt); | ||
reader.forEach(function (entry) {}); | ||
reader.iterator(); | ||
```javascript | ||
var ZIP = require("zip"); | ||
var data = new Buffer(...); | ||
var reader = ZIP.Reader(data); | ||
reader.toObject(charset_opt); | ||
reader.forEach(function (entry) {}); | ||
reader.iterator(); | ||
``` | ||
|
||
Copyright 1999 Masanao Izumo <[email protected]> License Unknown | ||
Copyright 2010 Tom Robinson (http://tlrobinson.net/) MIT License (enclosed) | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
var ZIP = require("./zip"); | ||
var FS = require("fs"); | ||
var data = FS.readFileSync("zip.zip") | ||
var reader = ZIP.Reader(data); | ||
console.log(reader.toObject('utf-8')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters