{ "manifest": { "name": "clone-buffer", "version": "1.0.0", "description": "Easier Buffer cloning in node.", "author": { "name": "Gulp Team", "email": "team@gulpjs.com", "url": "http://gulpjs.com/" }, "contributors": [ { "name": "Blaine Bublitz", "email": "blaine.bublitz@gmail.com" } ], "repository": { "type": "git", "url": "https://github.com/gulpjs/clone-buffer.git" }, "license": "MIT", "engines": { "node": ">= 0.10" }, "main": "index.js", "files": [ "LICENSE", "index.js" ], "scripts": { "lint": "eslint . && jscs index.js test/", "pretest": "npm run lint", "test": "mocha --async-only", "cover": "istanbul cover _mocha --report lcovonly", "coveralls": "npm run cover && istanbul-coveralls" }, "dependencies": {}, "devDependencies": { "eslint": "^1.7.3", "eslint-config-gulp": "^2.0.0", "expect": "^1.19.0", "istanbul": "^0.4.3", "istanbul-coveralls": "^1.0.3", "jscs": "^2.3.5", "jscs-preset-gulp": "^1.0.0", "mocha": "^2.4.5" }, "keywords": [ "buffer", "clone", "from", "copy" ], "_registry": "npm", "_loc": "/home/josie/.cache/yarn/v6/npm-clone-buffer-1.0.0-e3e25b207ac4e701af721e2cb5a16792cac3dc58-integrity/node_modules/clone-buffer/package.json", "readmeFilename": "README.md", "readme": "

\n \n \n \n

\n\n# clone-buffer\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]\n\nEasier Buffer cloning in node.\n\n## Example\n\n```js\nvar cloneBuffer = require('clone-buffer');\n\nvar buffer = new Buffer('test');\nvar cloned = cloneBuffer(buffer);\n// buffer !== cloned\n```\n\n## API\n\n### `cloneBuffer(buffer)`\n\nTakes a `Buffer` object and returns a clone. Throws if a non-`Buffer` is passed.\n\n## License\n\nMIT\n\n[downloads-image]: http://img.shields.io/npm/dm/clone-buffer.svg\n[npm-url]: https://npmjs.org/package/clone-buffer\n[npm-image]: http://img.shields.io/npm/v/clone-buffer.svg\n\n[travis-url]: https://travis-ci.org/gulpjs/clone-buffer\n[travis-image]: http://img.shields.io/travis/gulpjs/clone-buffer.svg?label=travis-ci\n\n[appveyor-url]: https://ci.appveyor.com/project/gulpjs/clone-buffer\n[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/clone-buffer.svg?label=appveyor\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/clone-buffer\n[coveralls-image]: http://img.shields.io/coveralls/gulpjs/clone-buffer/master.svg\n\n[gitter-url]: https://gitter.im/gulpjs/gulp\n[gitter-image]: https://badges.gitter.im/gulpjs/gulp.png\n", "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2016 Blaine Bublitz , Eric Schoffstall and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n" }, "artifacts": [], "remote": { "resolved": "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58", "type": "tarball", "reference": "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz", "hash": "e3e25b207ac4e701af721e2cb5a16792cac3dc58", "integrity": "sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g==", "registry": "npm", "packageName": "clone-buffer", "cacheIntegrity": "sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g== sha1-4+JbIHrE5wGvch4staFnksrD3Fg=" }, "registry": "npm", "hash": "e3e25b207ac4e701af721e2cb5a16792cac3dc58" }