buffer
buffer copied to clipboard
wrt: standalone script.
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"
Hi you can use the script url with specific version like this
<script src="https://bundle.run/[email protected]"></script>
@khanifikhsanudin still some functions like the Buffer.from() and createBuffer dont seem to work?
In browser, Buffer can be obtained by window.buffer.Buffer.
window.buffer.Buffer.from() should work fine.