Skip to content

Conversation

@ikreymer
Copy link

This PR allows node-warc to be bundled with webpack for use in the browser.
Operations requiring fs are moved to separate module and a stream is passed in via getStream
fs and untildify are excluded from bundling for the browser.

ikreymer added 3 commits June 1, 2019 12:51
- avoid including fs and untildify, just pass in raw streams
- uses webpack to bundle to dist/nodewarc.js
- expose stream and zlib for further testing with WARCParser
- add index.html for testing
issues: still getting 'Uncaught Error: invalid distance too far back' from zlib, unrelated to warc parsing (which works well!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant