Skip to content
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? #19

Open
ghost opened this issue Jul 31, 2015 · 7 comments
Open

Browser? #19

ghost opened this issue Jul 31, 2015 · 7 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jul 31, 2015

The title does include Node, but I was wondering if this is safe to use in the browser?

@mikehayesuk
Copy link

According to the comments in this issue, it's not designed for the browser. I couldn't comment whether it works well across browsers though (was wondering the same myself).

@unclechu
Copy link
Owner

@chrismbeckett That's right, it wasn't designed for client-side, it have some node-specific stuff like Buffer. May be in the future it will be more compatible with front-end, for v1 release I'm planning to make some API for cloning special objects and move dealing with Buffers and other stuff like this to another sub-module as optional logic. Actually there's some pull request that I'm gonna use as prototype. But for now I guess you should use another module on client-side.

@husa
Copy link

husa commented Jul 5, 2016

Any chance browser support will be released any time soon?

@unclechu
Copy link
Owner

unclechu commented Jul 5, 2016

@husa If I have time for that, but no guarantees.

@unclechu unclechu self-assigned this Aug 18, 2016
@unclechu
Copy link
Owner

Relevant PR: #27

@everyonesdesign
Copy link

Browserify implicitly adds a huge Buffer polyfill because of the buffer check. It's a part of documented browserify behavior but I don't think that it's a good idea to use the module in browser with the check.

@unclechu
Copy link
Owner

@everyonesdesign it will be optional behavior in next major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants