Skip to content

Support imports into frontend projects #308

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

Open
tiagosiebler opened this issue Feb 14, 2023 · 1 comment
Open

Support imports into frontend projects #308

tiagosiebler opened this issue Feb 14, 2023 · 1 comment

Comments

@tiagosiebler
Copy link
Owner

This is something to modernise, supporting seamless imports to frontend projects without needing to build a js bundle with the webpack config in the repo.

Right now the only semi-documented method for using this module in the browser is to generate a js bundle using webpack, and then including that with a script tag (#144). It should be as simple as npm install then import from 'binance'. The same way backend projects use this module.

If anyone wants to look into what needs to happen to support this, please do! PRs welcome.

@tiagosiebler
Copy link
Owner Author

Got an example for bybit here:
https://github.com/tiagosiebler/awesome-crypto-examples/tree/master/src/demos

Could adapt it for binance too. Same kind of workflow should work for binance.

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

1 participant