{ "_args": [ [ { "raw": "merge@^1.1.3", "scope": null, "escapedName": "merge", "name": "merge", "rawSpec": "^1.1.3", "spec": ">=1.1.3 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/exec-sh" ] ], "_from": "merge@>=1.1.3 <2.0.0", "_id": "merge@1.2.0", "_inCache": true, "_location": "/merge", "_npmUser": { "name": "yeikos", "email": "yeikos@gmail.com" }, "_npmVersion": "1.4.21", "_phantomChildren": {}, "_requested": { "raw": "merge@^1.1.3", "scope": null, "escapedName": "merge", "name": "merge", "rawSpec": "^1.1.3", "spec": ">=1.1.3 <2.0.0", "type": "range" }, "_requiredBy": [ "/exec-sh" ], "_resolved": "https://registry.npmjs.org/merge/-/merge-1.2.0.tgz", "_shasum": "7531e39d4949c281a66b8c5a6e0265e8b05894da", "_shrinkwrap": null, "_spec": "merge@^1.1.3", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/exec-sh", "author": { "name": "yeikos", "url": "http://www.yeikos.com" }, "bugs": { "url": "https://github.com/yeikos/js.merge/issues" }, "dependencies": {}, "description": "Merge multiple objects into one, optionally creating a new cloned object. Similar to the jQuery.extend but more flexible. Works in Node.js and the browser.", "devDependencies": {}, "directories": {}, "dist": { "shasum": "7531e39d4949c281a66b8c5a6e0265e8b05894da", "tarball": "https://registry.npmjs.org/merge/-/merge-1.2.0.tgz" }, "gitHead": "6fc27c23e1ebf54a4f6ba8a7224dd48dfd9faf7c", "homepage": "https://github.com/yeikos/js.merge", "keywords": [ "merge", "recursive", "extend", "clone", "object", "browser" ], "license": "MIT", "main": "merge.js", "maintainers": [ { "name": "yeikos", "email": "yeikos@gmail.com" } ], "name": "merge", "optionalDependencies": {}, "readme": "# Merge\r\n\r\nMerge multiple objects into one, optionally creating a new cloned object.\r\nSimilar to the jQuery.extend but more flexible. Works in Node.js and the\r\nbrowser.\r\n\r\n## Node.js Usage\r\n\r\n```sh\r\nnpm install merge --save\r\n```\r\n\r\n```js\r\nvar merge = require('merge'), original, cloned;\r\n\r\nconsole.log(merge({one:'hello'}, {two: 'world'}));\r\n// -> {\"one\": \"hello\", \"two\": \"world\"}\r\n\r\noriginal = { x: { y: 1 } };\r\ncloned = merge(true, original);\r\ncloned.x.y++;\r\n\r\nconsole.log(original.x.y, cloned.x.y);\r\n// -> 1, 2\r\n\r\nconsole.log(merge.recursive(true, original, { x: { z: 2 } }));\r\n// -> {\"x\": { \"y\": 1, \"z\": 2 } }\r\n\r\n```\r\n\r\n## Browser Usage\r\n\r\n```html\r\n\r\n\r\n```\r\n\r\n## Tests\r\n\r\n```sh\r\nnpm test\r\n```\r\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/yeikos/js.merge.git" }, "scripts": { "test": "cd tests; node index.js" }, "version": "1.2.0" }