Buffer Shims
JSON →Buffer-shims is a JavaScript utility, currently at version 1.0.0, designed to provide polyfills for modern Node.js `Buffer` constructor methods like `Buffer.from`, `Buffer.alloc`, `Buffer.allocUnsafe`, and `Buffer.allocUnsafeSlow` in older Node.js environments and browsers. Released around 2014-2017 and last updated on npm about 7 years ago, its primary purpose was to bridge compatibility gaps before these methods became standard. The package does not patch the global `Buffer` object but exposes these methods via its own export. With modern Node.js versions and widely adopted browser standards, the need for this specific shim has largely diminished, making it mostly obsolete for new development.
Traffic · last 30 days ↓56% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France