buffer icon indicating copy to clipboard operation
buffer copied to clipboard

wrt: standalone script.

Open dubiouscript opened this issue 2 years ago • 3 comments

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"

dubiouscript avatar Feb 19 '23 10:02 dubiouscript

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

<script src="https://bundle.run/[email protected]"></script>

khanifikhsanudin avatar Mar 02 '23 07:03 khanifikhsanudin

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

alaadaff avatar Aug 25 '23 21:08 alaadaff

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

way2ex avatar Oct 09 '23 07:10 way2ex