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

wrt: standalone script. #322

Open
dubiouscript opened this issue Feb 19, 2023 · 3 comments
Open

wrt: standalone script. #322

dubiouscript opened this issue Feb 19, 2023 · 3 comments

Comments

@dubiouscript
Copy link

https://github.com/feross/buffer/blob/master/README.md
mentions

If you do not use a bundler, you can use the standalone script.

this link https://bundle.run/buffer
is currently returning (nginx) error 500


what content was this link providing ?
is there

  • any alternative source
  • or steps to create this "standalone script"
@khanifikhsanudin
Copy link

khanifikhsanudin commented Mar 2, 2023

Hi you can use the script url with specific version like this

<script src="https://bundle.run/buffer@6.0.3"></script>

@alaadaff
Copy link

@khanifikhsanudin still some functions like the Buffer.from() and createBuffer dont seem to work?

@way2ex
Copy link

way2ex commented Oct 9, 2023

In browser, Buffer can be obtained by window.buffer.Buffer.
window.buffer.Buffer.from() should work fine.

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

4 participants