{
	"name": "shallow-copy",
	"versions": {
		"0.0.0": {
			"name": "shallow-copy",
			"version": "0.0.0",
			"description": "make a shallow copy of an object or array",
			"main": "index.js",
			"dependencies": {},
			"devDependencies": {
				"tape": "~1.0.4"
			},
			"scripts": {
				"test": "tape test/*.js"
			},
			"testling": {
				"files": "test/*.js",
				"browsers": [
					"ie/8..latest",
					"ff/latest",
					"chrome/latest",
					"safari/latest",
					"opera/latest",
					"android/latest",
					"iphone/latest",
					"ipad/latest"
				]
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/substack/shallow-copy.git"
			},
			"homepage": "https://github.com/substack/shallow-copy",
			"keywords": [
				"shallow",
				"copy",
				"data",
				"object",
				"array"
			],
			"author": {
				"name": "James Halliday",
				"email": "mail@substack.net",
				"url": "http://substack.net"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/substack/shallow-copy/issues"
			},
			"_id": "shallow-copy@0.0.0",
			"dist": {
				"shasum": "9c719d8e7e2d11ed283579a091a83bdc1080d34b",
				"tarball": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.0",
			"_npmUser": {
				"name": "substack",
				"email": "mail@substack.net"
			},
			"maintainers": [
				{
					"name": "substack",
					"email": "mail@substack.net"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.0.1": {
			"name": "shallow-copy",
			"version": "0.0.1",
			"description": "make a shallow copy of an object or array",
			"main": "index.js",
			"dependencies": {},
			"devDependencies": {
				"tape": "~1.0.4"
			},
			"scripts": {
				"test": "tape test/*.js"
			},
			"testling": {
				"files": "test/*.js",
				"browsers": [
					"ie/8..latest",
					"ff/latest",
					"chrome/latest",
					"safari/latest",
					"opera/latest",
					"android/latest",
					"iphone/latest",
					"ipad/latest"
				]
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/substack/shallow-copy.git"
			},
			"homepage": "https://github.com/substack/shallow-copy",
			"keywords": [
				"shallow",
				"copy",
				"data",
				"object",
				"array"
			],
			"author": {
				"name": "James Halliday",
				"email": "mail@substack.net",
				"url": "http://substack.net"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/substack/shallow-copy/issues"
			},
			"_id": "shallow-copy@0.0.1",
			"dist": {
				"shasum": "415f42702d73d810330292cc5ee86eae1a11a170",
				"tarball": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.0",
			"_npmUser": {
				"name": "substack",
				"email": "mail@substack.net"
			},
			"maintainers": [
				{
					"name": "substack",
					"email": "mail@substack.net"
				}
			],
			"directories": {},
			"contributors": []
		}
	},
	"time": {
		"modified": "2015-03-05T18:27:15.577Z",
		"created": "2013-07-25T04:34:57.810Z",
		"0.0.0": "2013-07-25T04:34:59.273Z",
		"0.0.1": "2013-07-25T06:24:34.297Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "0.0.1"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"53b9705a78ea388472d6b1ef09842aa5\"",
			"fetched": 1593324391426
		}
	},
	"_distfiles": {
		"shallow-copy-0.0.0.tgz": {
			"url": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.0.tgz",
			"sha": "9c719d8e7e2d11ed283579a091a83bdc1080d34b",
			"registry": "npmjs"
		},
		"shallow-copy-0.0.1.tgz": {
			"url": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz",
			"sha": "415f42702d73d810330292cc5ee86eae1a11a170",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"shallow-copy-0.0.1.tgz": {
			"shasum": "415f42702d73d810330292cc5ee86eae1a11a170"
		}
	},
	"_rev": "2-f067a6d9d0be7b65",
	"_id": "shallow-copy",
	"readme": "# shallow-copy\n\nmake a shallow copy of an object or array\n\n[![testling badge](https://ci.testling.com/substack/shallow-copy.png)](https://ci.testling.com/substack/shallow-copy)\n\n[![build status](https://secure.travis-ci.org/substack/shallow-copy.png)](http://travis-ci.org/substack/shallow-copy)\n\n# example\n\nyou can copy objects shallowly:\n\n``` js\nvar copy = require('shallow-copy');\n\nvar obj = { a: 3, b: 4, c: [5,6] };\nvar dup = copy(obj);\ndup.b *= 111;\ndup.c.push(7);\n\nconsole.log('original: ', obj);\nconsole.log('copy: ', dup);\n```\n\nand you can copy arrays shallowly:\n\n``` js\nvar copy = require('shallow-copy');\n\nvar xs = [ 3, 4, 5, { f: 6, g: 7 } ];\nvar dup = copy(xs);\ndup.unshift(1, 2);\ndup[5].g += 100;\n\nconsole.log('original: ', xs);\nconsole.log('copy: ', dup);\n```\n\n# methods\n\n``` js\nvar copy = require('shallow-copy')\n```\n\n## copy(obj)\n\nReturn a copy of the enumerable properties of the object `obj` without making\ncopies of nested objects inside of `obj`.\n\nIf `obj` is an array, the result will be an array.\nIf `obj` is an object, the result will be an object.\nIf `obj` is not an object, its value is returned.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install shallow-copy\n```\n\n# license\n\nMIT"
}