Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
{
  "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![](https://i.imgur.com/zxII3jJ.gif)\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"
}