We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032566b commit 12d2099Copy full SHA for 12d2099
README.md
@@ -34,7 +34,7 @@ There are no other nodeJS libraries that ADM-ZIP is dependent of
34
zipEntries.forEach(function(zipEntry) {
35
console.log(zipEntry.toString()); // outputs zip entries information
36
if (zipEntry.entryName == "my_file.txt") {
37
- console.log(zipEntry.data.toString('utf8'));
+ console.log(zipEntry.getData().toString('utf8'));
38
}
39
});
40
// outputs the content of some_folder/my_file.txt
0 commit comments