Repository URL to install this package:
|
Version:
1.8.0-17108 ▾
|
brackets
/
opt
/
brackets
/
www
/
extensions
/
default
/
JavaScriptCodeHints
/
node_modules
/
buffer-shims
/
package.json
|
|---|
{
"name": "buffer-shims",
"version": "1.0.0",
"description": "some shims for node buffers",
"main": "index.js",
"scripts": {
"test": "tape test/*.js"
},
"files": [
"index.js"
],
"license": "MIT",
"devDependencies": {
"tape": "^4.5.1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/calvinmetcalf/buffer-shims.git"
},
"readme": "buffer-shims\n===\n\nfunctions to make sure the new buffer methods work in older browsers.\n\n```js\nvar bufferShim = require('buffer-shims');\nbufferShim.from('foo');\nbufferShim.alloc(9, 'cafeface', 'hex');\nbufferShim.allocUnsafe(15);\nbufferShim.allocUnsafeSlow(21);\n```\n\nshould just use the original in newer nodes and on older nodes uses fallbacks.\n\nKnown Issues\n===\n- this does not patch the buffer object, only the constructor stuff\n- it's actually a polyfill\n\n\n",
"readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/calvinmetcalf/buffer-shims/issues"
},
"homepage": "https://github.com/calvinmetcalf/buffer-shims#readme",
"_id": "buffer-shims@1.0.0",
"_shasum": "9978ce317388c649ad8793028c3477ef044a8b51",
"_resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz",
"_from": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz"
}