-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser support! #10
Comments
I just played around with this and AFAICT the blocker seems to be the absence of a browserify compatible streams2 implementation (though there could be one I've not found?). The other option of course is to add v0.8 support & rewrite levelgraph to use through instead of streams2. Can you tell me if that interpretation is right? |
Your intepretation is totally right. Maybe some guys of the browserify crew can help giving directions. Maybe @juliangruber might help :). You might also need a ES5 shim for some bad browser out there, as I am depending on forEach, map, filter and so on. |
You can just use https://github.com/isaacs/readable-stream for streams2 support. |
Then it should not be hard. Thanks @juliangruber! @jez0990 do you fancy trying implementing browserify support and submitting a pull-request? You should also switch the tests to https://npmjs.org/package/level-test. |
A new branch is being created for this work: #22 |
Closed in favore of #23 |
LevelGraph should run as is in the Browser, on top of level-js.
Some browserify-fu is needed.
The text was updated successfully, but these errors were encountered: