Skip to content

Commit

Permalink
Add note about filter option
Browse files Browse the repository at this point in the history
Fixes #57.
  • Loading branch information
glasser authored and kevva committed Aug 14, 2017
1 parent b40549f commit 7ddadd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ decompress('unicorn.zip', 'dist', {
});
```

*Note that in the current implementation, **`filter` is only applied after fully reading all files from the archive in memory**. Do not rely on this option to limit the amount of memory used by `decompress` to the size of the files included by `filter`. `decompress` will read the entire compressed file into memory regardless.*

##### map

Type: `Function`
Expand Down

0 comments on commit 7ddadd9

Please sign in to comment.