Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upNeed a node streams implementation that uses bops #16
Comments
This comment has been minimized.
This comment has been minimized.
|
This is not needed anymore. The approach I used instead was to write native-buffer-browserify which emulates the node Buffer API but is backed by a Uint8Array (native browser buffer). So now we can just use the existing browserify streams implementation and eliminate |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
By default,
browserify's streams implementation uses a fakeBufferobject frombrowserify-bufferthat behaves weirdly. We really want it to usebopsso it uses the environment's native buffer type.I think @defunctzombie's approach will work: