feross / feross/buffer

Consider injecting Buffer to window in standalone script

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Currently `Buffer` can be obtained by `window.buffer.Buffer`. But many application and library use `Buffer` as a global variable. They offen use `Buffer.from()` not `buffer.Buffer.from()`.
I suggest that we can provide a `window.Buffer` in standalone script.
If there is something I can do for helping this work, just let me know. Thanks for your great work!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.