Skip to content

Commit

Permalink
Document that filter is applied very late
Browse files Browse the repository at this point in the history
Improves kevva#56, although fixing the issue would be preferable to documenting it.
  • Loading branch information
glasser authored Jul 26, 2017
1 parent b40549f commit a382b00
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`.

##### map

Type: `Function`
Expand Down

0 comments on commit a382b00

Please sign in to comment.