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

Dependency on Stream Library #40

Open
Scuilion opened this issue Jul 23, 2018 · 2 comments
Open

Dependency on Stream Library #40

Scuilion opened this issue Jul 23, 2018 · 2 comments

Comments

@Scuilion
Copy link

The package claims that is needs no depenencies:
https://www.npmjs.com/package/xml

But I believe it rely on on Stream
https://www.npmjs.com/package/xml

@eqyiel
Copy link

eqyiel commented Aug 3, 2018

@Scuilion that's probably because this is intended for use in Node projects and stream is a builtin Node API: https://nodejs.org/api/stream.html

If you need to use this in a browser/React Native environment it should be possible to shim the stream library using something like this: https://github.com/substack/stream-browserify

See also: https://github.com/webpack/node-libs-browser

@Scuilion
Copy link
Author

Scuilion commented Aug 4, 2018

@eqyiel You're a 100% right. I was using this in a browser. Thanks for the response!

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

No branches or pull requests

2 participants