{ "_args": [ [ { "raw": "extend@~3.0.1", "scope": null, "escapedName": "extend", "name": "extend", "rawSpec": "~3.0.1", "spec": ">=3.0.1 <3.1.0", "type": "range" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request" ] ], "_from": "extend@>=3.0.1 <3.1.0", "_id": "extend@3.0.1", "_inCache": true, "_location": "/extend", "_nodeVersion": "7.9.0", "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/extend-3.0.1.tgz_1493357803699_0.1708133383654058" }, "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "_npmVersion": "4.2.0", "_phantomChildren": {}, "_requested": { "raw": "extend@~3.0.1", "scope": null, "escapedName": "extend", "name": "extend", "rawSpec": "~3.0.1", "spec": ">=3.0.1 <3.1.0", "type": "range" }, "_requiredBy": [ "/get-uri", "/http-proxy-agent", "/http-proxy-agent/agent-base", "/https-proxy-agent", "/https-proxy-agent/agent-base", "/pac-proxy-agent/agent-base", "/request", "/superagent" ], "_resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", "_shasum": "a755ea7bc1adfcc5a31ce7e762dbaadc5e636444", "_shrinkwrap": null, "_spec": "extend@~3.0.1", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/request", "author": { "name": "Stefan Thomas", "email": "justmoon@members.fsf.org", "url": "http://www.justmoon.net" }, "bugs": { "url": "https://github.com/justmoon/node-extend/issues" }, "contributors": [ { "name": "Jordan Harband", "url": "https://github.com/ljharb" } ], "dependencies": {}, "description": "Port of jQuery.extend for node.js and the browser", "devDependencies": { "@ljharb/eslint-config": "^11.0.0", "covert": "^1.1.0", "eslint": "^3.19.0", "jscs": "^3.0.7", "tape": "^4.6.3" }, "directories": {}, "dist": { "shasum": "a755ea7bc1adfcc5a31ce7e762dbaadc5e636444", "tarball": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz" }, "gitHead": "138b515df4d628bb1742254ede5d2551c0fecae7", "homepage": "https://github.com/justmoon/node-extend#readme", "keywords": [ "extend", "clone", "merge" ], "license": "MIT", "main": "index", "maintainers": [ { "name": "justmoon", "email": "justmoon@members.fsf.org" }, { "name": "ljharb", "email": "ljharb@gmail.com" } ], "name": "extend", "optionalDependencies": {}, "readme": "[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n\n# extend() for Node.js [![Version Badge][npm-version-png]][npm-url]\n\n`node-extend` is a port of the classic extend() method from jQuery. It behaves as you expect. It is simple, tried and true.\n\nNotes:\n\n* Since Node.js >= 4,\n [`Object.assign`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)\n now offers the same functionality natively (but without the \"deep copy\" option).\n See [ECMAScript 2015 (ES6) in Node.js](https://nodejs.org/en/docs/es6).\n* Some native implementations of `Object.assign` in both Node.js and many\n browsers (since NPM modules are for the browser too) may not be fully\n spec-compliant.\n Check [`object.assign`](https://www.npmjs.com/package/object.assign) module for\n a compliant candidate.\n\n## Installation\n\nThis package is available on [npm][npm-url] as: `extend`\n\n``` sh\nnpm install extend\n```\n\n## Usage\n\n**Syntax:** extend **(** [`deep`], `target`, `object1`, [`objectN`] **)**\n\n*Extend one object with one or more others, returning the modified object.*\n\n**Example:**\n\n``` js\nvar extend = require('extend');\nextend(targetObject, object1, object2);\n```\n\nKeep in mind that the target object will be modified, and will be returned from extend().\n\nIf a boolean true is specified as the first argument, extend performs a deep copy, recursively copying any objects it finds. Otherwise, the copy will share structure with the original object(s).\nUndefined properties are not copied. However, properties inherited from the object's prototype will be copied over.\nWarning: passing `false` as the first argument is not supported.\n\n### Arguments\n\n* `deep` *Boolean* (optional)\nIf set, the merge becomes recursive (i.e. deep copy).\n* `target`\t*Object*\nThe object to extend.\n* `object1`\t*Object*\nThe object that will be merged into the first.\n* `objectN` *Object* (Optional)\nMore objects to merge into the first.\n\n## License\n\n`node-extend` is licensed under the [MIT License][mit-license-url].\n\n## Acknowledgements\n\nAll credit to the jQuery authors for perfecting this amazing utility.\n\nPorted to Node.js by [Stefan Thomas][github-justmoon] with contributions by [Jonathan Buchanan][github-insin] and [Jordan Harband][github-ljharb].\n\n[travis-svg]: https://travis-ci.org/justmoon/node-extend.svg\n[travis-url]: https://travis-ci.org/justmoon/node-extend\n[npm-url]: https://npmjs.org/package/extend\n[mit-license-url]: http://opensource.org/licenses/MIT\n[github-justmoon]: https://github.com/justmoon\n[github-insin]: https://github.com/insin\n[github-ljharb]: https://github.com/ljharb\n[npm-version-png]: http://versionbadg.es/justmoon/node-extend.svg\n[deps-svg]: https://david-dm.org/justmoon/node-extend.svg\n[deps-url]: https://david-dm.org/justmoon/node-extend\n[dev-deps-svg]: https://david-dm.org/justmoon/node-extend/dev-status.svg\n[dev-deps-url]: https://david-dm.org/justmoon/node-extend#info=devDependencies\n\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/justmoon/node-extend.git" }, "scripts": { "coverage": "covert test/index.js", "coverage-quiet": "covert test/index.js --quiet", "eslint": "eslint *.js */*.js", "jscs": "jscs *.js */*.js", "lint": "npm run jscs && npm run eslint", "posttest": "npm run coverage-quiet", "pretest": "npm run lint", "test": "npm run tests-only", "tests-only": "node test" }, "version": "3.0.1" }