{
	"name": "zwitch",
	"versions": {
		"1.0.0": {
			"name": "zwitch",
			"version": "1.0.0",
			"description": "Handle values based on a property",
			"license": "MIT",
			"keywords": [
				"handle",
				"switch",
				"property"
			],
			"files": [
				"index.js"
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/wooorm/zwitch.git"
			},
			"bugs": {
				"url": "https://github.com/wooorm/zwitch/issues"
			},
			"author": {
				"name": "Titus Wormer",
				"email": "tituswormer@gmail.com",
				"url": "http://wooorm.com"
			},
			"contributors": [
				{
					"name": "Titus Wormer",
					"email": "tituswormer@gmail.com",
					"url": "http://wooorm.com"
				}
			],
			"dependencies": {
				"has": "^1.0.1",
				"x-is-object": "^0.1.0"
			},
			"devDependencies": {
				"browserify": "^13.0.1",
				"esmangle": "^1.0.1",
				"nyc": "^7.0.0",
				"remark-cli": "^1.0.0",
				"remark-comment-config": "^4.0.0",
				"remark-github": "^5.0.0",
				"remark-lint": "^4.0.0",
				"remark-validate-links": "^4.0.0",
				"tape": "^4.0.0",
				"xo": "^0.16.0"
			},
			"scripts": {
				"build-md": "remark . --quiet --frail",
				"build-bundle": "browserify index.js --bare -s zwitch > zwitch.js",
				"build-mangle": "esmangle < zwitch.js > zwitch.min.js",
				"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
				"lint": "xo",
				"test-api": "node test",
				"test-coverage": "nyc --reporter lcov tape test.js",
				"test": "npm run build && npm run lint && npm run test-coverage"
			},
			"xo": {
				"space": true,
				"ignores": [
					"zwitch.js",
					"zwitch.min.js"
				]
			},
			"nyc": {
				"check-coverage": true,
				"lines": 100,
				"functions": 100,
				"branches": 100
			},
			"remarkConfig": {
				"output": true,
				"plugins": [
					"comment-config",
					"github",
					"lint",
					"validate-links"
				],
				"settings": {
					"bullet": "*"
				}
			},
			"gitHead": "751c1f7d1b4973f64f5a3796f2aa60431da0ef4c",
			"homepage": "https://github.com/wooorm/zwitch#readme",
			"_id": "zwitch@1.0.0",
			"_shasum": "1ca2c5fe26445ac868b2f063454e89caad39df7b",
			"_from": ".",
			"_npmVersion": "3.3.6",
			"_nodeVersion": "5.0.0",
			"_npmUser": {
				"name": "wooorm",
				"email": "tituswormer@gmail.com"
			},
			"dist": {
				"shasum": "1ca2c5fe26445ac868b2f063454e89caad39df7b",
				"tarball": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.0.tgz"
			},
			"maintainers": [
				{
					"name": "wooorm",
					"email": "tituswormer@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/zwitch-1.0.0.tgz_1468673623211_0.36366994795389473"
			},
			"directories": {}
		},
		"1.0.1": {
			"name": "zwitch",
			"version": "1.0.1",
			"description": "Handle values based on a property",
			"license": "MIT",
			"keywords": [
				"handle",
				"switch",
				"property"
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/wooorm/zwitch.git"
			},
			"bugs": {
				"url": "https://github.com/wooorm/zwitch/issues"
			},
			"author": {
				"name": "Titus Wormer",
				"email": "tituswormer@gmail.com",
				"url": "http://wooorm.com"
			},
			"contributors": [
				{
					"name": "Titus Wormer",
					"email": "tituswormer@gmail.com",
					"url": "http://wooorm.com"
				}
			],
			"files": [
				"index.js"
			],
			"dependencies": {
				"x-is-object": "^0.1.0"
			},
			"devDependencies": {
				"browserify": "^14.1.0",
				"esmangle": "^1.0.1",
				"nyc": "^11.0.0",
				"remark-cli": "^3.0.0",
				"remark-preset-wooorm": "^3.0.0",
				"tape": "^4.0.0",
				"xo": "^0.18.0"
			},
			"scripts": {
				"build-md": "remark . -qfo",
				"build-bundle": "browserify index.js --bare -s zwitch > zwitch.js",
				"build-mangle": "esmangle < zwitch.js > zwitch.min.js",
				"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
				"lint": "xo",
				"test-api": "node test",
				"test-coverage": "nyc --reporter lcov tape test.js",
				"test": "npm run build && npm run lint && npm run test-coverage"
			},
			"xo": {
				"space": true,
				"esnext": false,
				"ignores": [
					"zwitch.js"
				]
			},
			"nyc": {
				"check-coverage": true,
				"lines": 100,
				"functions": 100,
				"branches": 100
			},
			"remarkConfig": {
				"plugins": [
					"preset-wooorm"
				]
			},
			"gitHead": "6d8c0ea3f0aec03021c48ad3073ea7ac754a32bb",
			"homepage": "https://github.com/wooorm/zwitch#readme",
			"_id": "zwitch@1.0.1",
			"_shasum": "c408158374fd3c32239214df68636488681acfee",
			"_from": ".",
			"_npmVersion": "2.14.2",
			"_nodeVersion": "4.0.0",
			"_npmUser": {
				"name": "wooorm",
				"email": "tituswormer@gmail.com"
			},
			"dist": {
				"shasum": "c408158374fd3c32239214df68636488681acfee",
				"tarball": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.1.tgz"
			},
			"maintainers": [
				{
					"name": "wooorm",
					"email": "tituswormer@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/zwitch-1.0.1.tgz_1497912014248_0.368430303176865"
			},
			"directories": {}
		},
		"1.0.2": {
			"name": "zwitch",
			"version": "1.0.2",
			"description": "Handle values based on a property",
			"license": "MIT",
			"keywords": [
				"handle",
				"switch",
				"property"
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/wooorm/zwitch.git"
			},
			"bugs": {
				"url": "https://github.com/wooorm/zwitch/issues"
			},
			"author": {
				"name": "Titus Wormer",
				"email": "tituswormer@gmail.com",
				"url": "http://wooorm.com"
			},
			"contributors": [
				{
					"name": "Titus Wormer",
					"email": "tituswormer@gmail.com",
					"url": "http://wooorm.com"
				}
			],
			"files": [
				"index.js"
			],
			"dependencies": {},
			"devDependencies": {
				"browserify": "^14.1.0",
				"esmangle": "^1.0.1",
				"nyc": "^11.0.0",
				"remark-cli": "^3.0.0",
				"remark-preset-wooorm": "^3.0.0",
				"tape": "^4.0.0",
				"xo": "^0.18.0"
			},
			"scripts": {
				"build-md": "remark . -qfo",
				"build-bundle": "browserify index.js --bare -s zwitch > zwitch.js",
				"build-mangle": "esmangle < zwitch.js > zwitch.min.js",
				"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
				"lint": "xo",
				"test-api": "node test",
				"test-coverage": "nyc --reporter lcov tape test.js",
				"test": "npm run build && npm run lint && npm run test-coverage"
			},
			"xo": {
				"space": true,
				"esnext": false,
				"ignores": [
					"zwitch.js"
				]
			},
			"nyc": {
				"check-coverage": true,
				"lines": 100,
				"functions": 100,
				"branches": 100
			},
			"remarkConfig": {
				"plugins": [
					"preset-wooorm"
				]
			},
			"gitHead": "9ffbaaee751f761dd8449e221c916e8ea3d2061d",
			"homepage": "https://github.com/wooorm/zwitch#readme",
			"_id": "zwitch@1.0.2",
			"_shasum": "9b059541bfa844799fe2d903bde609de2503a041",
			"_from": ".",
			"_npmVersion": "2.14.2",
			"_nodeVersion": "4.0.0",
			"_npmUser": {
				"name": "wooorm",
				"email": "tituswormer@gmail.com"
			},
			"dist": {
				"shasum": "9b059541bfa844799fe2d903bde609de2503a041",
				"tarball": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.2.tgz"
			},
			"maintainers": [
				{
					"name": "wooorm",
					"email": "tituswormer@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/zwitch-1.0.2.tgz_1500392239794_0.8526203446090221"
			},
			"directories": {}
		},
		"1.0.3": {
			"name": "zwitch",
			"version": "1.0.3",
			"description": "Handle values based on a property",
			"license": "MIT",
			"keywords": [
				"handle",
				"switch",
				"property"
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/wooorm/zwitch.git"
			},
			"bugs": {
				"url": "https://github.com/wooorm/zwitch/issues"
			},
			"author": {
				"name": "Titus Wormer",
				"email": "tituswormer@gmail.com",
				"url": "http://wooorm.com"
			},
			"contributors": [
				{
					"name": "Titus Wormer",
					"email": "tituswormer@gmail.com",
					"url": "http://wooorm.com"
				}
			],
			"files": [
				"index.js"
			],
			"dependencies": {},
			"devDependencies": {
				"browserify": "^16.0.0",
				"esmangle": "^1.0.1",
				"nyc": "^11.0.0",
				"prettier": "^1.12.1",
				"remark-cli": "^5.0.0",
				"remark-preset-wooorm": "^4.0.0",
				"tape": "^4.0.0",
				"xo": "^0.20.0"
			},
			"scripts": {
				"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
				"build-bundle": "browserify index.js --bare -s zwitch > zwitch.js",
				"build-mangle": "esmangle < zwitch.js > zwitch.min.js",
				"build": "npm run build-bundle && npm run build-mangle",
				"test-api": "node test",
				"test-coverage": "nyc --reporter lcov tape test.js",
				"test": "npm run format && npm run build && npm run test-coverage"
			},
			"prettier": {
				"tabWidth": 2,
				"useTabs": false,
				"singleQuote": true,
				"bracketSpacing": false,
				"semi": false,
				"trailingComma": "none"
			},
			"xo": {
				"prettier": true,
				"esnext": false,
				"rules": {
					"no-var": "off",
					"prefer-arrow-callback": "off"
				},
				"ignores": [
					"zwitch.js"
				]
			},
			"nyc": {
				"check-coverage": true,
				"lines": 100,
				"functions": 100,
				"branches": 100
			},
			"remarkConfig": {
				"plugins": [
					"preset-wooorm"
				]
			},
			"gitHead": "821d4d31e8ed7afaeca597049d8cfcf303950e69",
			"homepage": "https://github.com/wooorm/zwitch#readme",
			"_id": "zwitch@1.0.3",
			"_npmVersion": "5.6.0",
			"_nodeVersion": "9.5.0",
			"_npmUser": {
				"name": "wooorm",
				"email": "tituswormer@gmail.com"
			},
			"dist": {
				"integrity": "sha512-aynRpmJDw7JIq6X4NDWJoiK1yVSiG57ArWSg4HLC1SFupX5/bo0Cf4jpX0ifwuzBfxpYBuNSyvMlWNNRuy3cVA==",
				"shasum": "159fae4b3f737db1e42bf321d3423e4c96688a18",
				"tarball": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.3.tgz",
				"fileCount": 4,
				"unpackedSize": 6107,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2wIcCRA9TVsSAnZWagAAYJQP+gPPl4FQOLQhUyBM3sdU\nyap3u4qVzBW0iiqt4yNamtLd8h9FHaSvX/xjgxkByMqHywTiu74HNU5uIHgF\nMvSbflCyKQ4KZWozX5ZQX5YLLReihr/K1gctPIRYHqasGdJJyRjG5Q+uMww4\n6UX7fMIBIn3Uh7jHaBgfucPGk7NYx+bPkbdbpeGSfSAu1X+qWfvrypfBG9wA\nJcb7OMMf89BEJhiGHSxPqqGECh7DPM0GYIIOG/cRDWe6yFhJXY2KBt8yiwCq\n/pWsjIO872tWC5Ugw0wVpajp8CAqtPIjqW7kcqNXFOYwJodzoFClcDyYUA6c\nhamrZNUtOOL4NKGuNtBG7hdLM0khSvJPJkN7vK8kzxTKuIADKfjIf0KH/gxW\nJNI+wR81KLAR8bCOKkIDK13AdJtMBGHR8T5MUyY7FAqm4CJFZdeie+kmLEb+\nNasVVy/JWft0eYrM8OD2/DBK0rfePcYzYJN+84FeVPPCUl9ABGBx1NES3Wy/\n81OkrGScxtAn7E2Udx9q37MXNtGassS5v0EG1awT6dpvrZK6vV9r/HB0H3Qy\n58E72+NybSSG/DqJlII/ZjyZpvX2ghiLJuao5xczXTYnFBzNFoAaw52xuX+I\np4M6FPCuItNyFZsdaSBiD4cYbjfVYnwCXbiEeqGRIUvEC5mvghB4s661BZ7z\nbg4G\r\n=8J1k\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "wooorm",
					"email": "tituswormer@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/zwitch_1.0.3_1524302363633_0.1780684176270213"
			},
			"_hasShrinkwrap": false
		},
		"1.0.4": {
			"name": "zwitch",
			"version": "1.0.4",
			"description": "Handle values based on a property",
			"license": "MIT",
			"keywords": [
				"handle",
				"switch",
				"property"
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/wooorm/zwitch.git"
			},
			"bugs": {
				"url": "https://github.com/wooorm/zwitch/issues"
			},
			"author": {
				"name": "Titus Wormer",
				"email": "tituswormer@gmail.com",
				"url": "https://wooorm.com"
			},
			"contributors": [
				{
					"name": "Titus Wormer",
					"email": "tituswormer@gmail.com",
					"url": "https://wooorm.com"
				}
			],
			"dependencies": {},
			"devDependencies": {
				"browserify": "^16.0.0",
				"nyc": "^14.0.0",
				"prettier": "^1.12.1",
				"remark-cli": "^6.0.0",
				"remark-preset-wooorm": "^4.0.0",
				"tape": "^4.0.0",
				"tinyify": "^2.5.0",
				"xo": "^0.24.0"
			},
			"scripts": {
				"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
				"build-bundle": "browserify . -s zwitch -o zwitch.js",
				"build-mangle": "browserify . -s zwitch -p tinyify -o zwitch.min.js",
				"build": "npm run build-bundle && npm run build-mangle",
				"test-api": "node test",
				"test-coverage": "nyc --reporter lcov tape test.js",
				"test": "npm run format && npm run build && npm run test-coverage"
			},
			"prettier": {
				"tabWidth": 2,
				"useTabs": false,
				"singleQuote": true,
				"bracketSpacing": false,
				"semi": false,
				"trailingComma": "none"
			},
			"xo": {
				"prettier": true,
				"esnext": false,
				"ignores": [
					"zwitch.js"
				]
			},
			"nyc": {
				"check-coverage": true,
				"lines": 100,
				"functions": 100,
				"branches": 100
			},
			"remarkConfig": {
				"plugins": [
					"preset-wooorm"
				]
			},
			"gitHead": "675ed602bfe13ceae4df912bfdccdb4b4977498d",
			"homepage": "https://github.com/wooorm/zwitch#readme",
			"_id": "zwitch@1.0.4",
			"_nodeVersion": "11.9.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-YO803/X+13GNaZB7fVopjvHH0uWQKgJkgKnU1YCjxShjKGVuN9PPHHW8g+uFDpkHpSTNi3rCMKMewIcbC1BAYg==",
				"shasum": "93b1b993b13c8926753a41afaf8f27bbfac6be8b",
				"tarball": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.4.tgz",
				"fileCount": 4,
				"unpackedSize": 6316,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0+rECRA9TVsSAnZWagAAHTAP/R/i4H1/zBEcWKf9vZPl\nzIMXHDeDNSuYD5VO5kkBsdcCNsNtlcy5HRQvDlGMczhMqjgQTKpBMF3yxdtU\nSDr7cARkVEYTZ0yscNs3o0Ep2mhJ31u+vsLD4KlLbAmycf35eu2Kv0e4i5K6\nxCsqTdeJ91TrEfRu73iIgqxAODr28FsIZMCkuwZOvQAVm0oL+GkwKIoozU68\n0FZXi6ziuYVJRCuw3P2kxRl9qN+u7f9AoOYjZrTSmJbPrhXyFUvUMi2cSIoy\nwuyxiT/0xE/RqtF/IqVVNONZGH15KVLpbO5uk6sd9I5g1sXznE0sDHQHj8uC\n3iVtMVgbEvWHk1hu8vameZ0hTRKxcd4qVB0TGYWv4Mai9P/XSINMntqS5c6x\nKD69wqftCAuPchy/odPUXbf2+5fvCJ4w2IQls5XSRS6FS6y4krYqfoSLZTM1\n2bgA33DiFsSddSvP/cFG8AhlHnjextapmWh480cEidM9f7rC9H2tw/qGwyCr\ncemeeUmdXp6SKdjOJ3EIK+hNqlB34jiYu09nlZEqpH3XEHStBV149hVm50wo\nPhkHBJck7n/vKp/miGIaN0kIOu1LhzMzaqioXsfkE7CEkTPBIOvthg3GQnPx\nooKAGK5T/DaKo6H25RBuJVdHm2ekfUIpcEGa2yz4VSv2oeUjvAdcNhdVRIUN\nn7rR\r\n=jEd2\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "wooorm",
					"email": "tituswormer@gmail.com"
				}
			],
			"_npmUser": {
				"name": "wooorm",
				"email": "tituswormer@gmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/zwitch_1.0.4_1557392067597_0.7983893200717578"
			},
			"_hasShrinkwrap": false
		},
		"1.0.5": {
			"name": "zwitch",
			"version": "1.0.5",
			"description": "Handle values based on a property",
			"license": "MIT",
			"keywords": [
				"handle",
				"switch",
				"property"
			],
			"repository": {
				"type": "git",
				"url": "git+https://github.com/wooorm/zwitch.git"
			},
			"bugs": {
				"url": "https://github.com/wooorm/zwitch/issues"
			},
			"funding": {
				"type": "github",
				"url": "https://github.com/sponsors/wooorm"
			},
			"author": {
				"name": "Titus Wormer",
				"email": "tituswormer@gmail.com",
				"url": "https://wooorm.com"
			},
			"contributors": [
				{
					"name": "Titus Wormer",
					"email": "tituswormer@gmail.com",
					"url": "https://wooorm.com"
				}
			],
			"dependencies": {},
			"devDependencies": {
				"browserify": "^16.0.0",
				"nyc": "^15.0.0",
				"prettier": "^1.0.0",
				"remark-cli": "^7.0.0",
				"remark-preset-wooorm": "^6.0.0",
				"tape": "^4.0.0",
				"tinyify": "^2.0.0",
				"xo": "^0.25.0"
			},
			"scripts": {
				"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
				"build-bundle": "browserify . -s zwitch -o zwitch.js",
				"build-mangle": "browserify . -s zwitch -p tinyify -o zwitch.min.js",
				"build": "npm run build-bundle && npm run build-mangle",
				"test-api": "node test",
				"test-coverage": "nyc --reporter lcov tape test.js",
				"test": "npm run format && npm run build && npm run test-coverage"
			},
			"prettier": {
				"tabWidth": 2,
				"useTabs": false,
				"singleQuote": true,
				"bracketSpacing": false,
				"semi": false,
				"trailingComma": "none"
			},
			"xo": {
				"prettier": true,
				"esnext": false,
				"rules": {
					"unicorn/prefer-reflect-apply": "off"
				},
				"ignores": [
					"zwitch.js"
				]
			},
			"nyc": {
				"check-coverage": true,
				"lines": 100,
				"functions": 100,
				"branches": 100
			},
			"remarkConfig": {
				"plugins": [
					"preset-wooorm"
				]
			},
			"gitHead": "f6ba8099287a53d8993a2458502b4fee890a1792",
			"homepage": "https://github.com/wooorm/zwitch#readme",
			"_id": "zwitch@1.0.5",
			"_nodeVersion": "13.0.1",
			"_npmVersion": "6.13.6",
			"dist": {
				"integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==",
				"shasum": "d11d7381ffed16b742f6af7b3f223d5cd9fe9920",
				"tarball": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
				"fileCount": 4,
				"unpackedSize": 6450,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLCWqCRA9TVsSAnZWagAAAKUP/1J1xF9p4YABc4NGwy4Q\nLPYBBFWqS0V5YbnCaGQN9zGKLwKggylIIcsrR0VNluK7PlE9Hx/IGimcTR2m\nMYrMgkWxJ63YTn8qWCx/DmOwYtBjwn+CtAeUhJNnCDmVttEYDFBigHak+Jq5\nL4k3N/6di2d8BDmIPXfuyq4iWIZNWhn2XgQlI2TLBvDY0aTG6soL5gq6sIgj\n9V8GmKFGpb5K6fPWvRZ5afZHBNPrCawPDrDBIdN7hJF2NGQ7PnKalhWF0VWB\nWvBZeWl2B5ONB5//s6RzMw52PZhpd7gsSdbiM/rGh9dSmKyms2hhiWhtTsRR\nhNI7/NZXuSUOpwhVZ1ZIFYZz+x/M7asMcudgPOJpl1/BaiDbOjxuOldqIavR\nwuX5u31C1WKxJXcxp6AV6cLZDNq6fhyaVPwuHwO2UnS0iVtVS//4j1k6BldT\nSvfoe7huO9kHIbNJU+wIWPOYpxQFMnqBUgDZzAzVqsyIwzmmKN5Rr1NYBCek\neTaqpZ2aXxTLSGGmHbAp9NG0pYEoyqKLiHBA6suySa2ZQgPgZCPCwdaOW2QM\njxY7+4NqA6exgWMe9eixv2JBmD/b5w6dqGRp1K0SJy79MNJ0BPbEBILLQidp\n/NwSKlSKeXC8mw9kHuyV0NjgoCAXNKSqflzWN1VAMdcDVBHAdQCEqLruvmhA\nqDLE\r\n=OIK9\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "wooorm",
					"email": "tituswormer@gmail.com"
				}
			],
			"_npmUser": {
				"name": "wooorm",
				"email": "tituswormer@gmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/zwitch_1.0.5_1579951529350_0.03247599308740723"
			},
			"_hasShrinkwrap": false
		}
	},
	"time": {
		"modified": "2020-01-25T11:25:32.091Z",
		"created": "2016-07-16T12:53:45.455Z",
		"1.0.0": "2016-07-16T12:53:45.455Z",
		"1.0.1": "2017-06-19T22:40:15.178Z",
		"1.0.2": "2017-07-18T15:37:20.847Z",
		"1.0.3": "2018-04-21T09:19:23.700Z",
		"1.0.4": "2019-05-09T08:54:27.687Z",
		"1.0.5": "2020-01-25T11:25:29.495Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "1.0.5"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"4f8e7493a41a02dfb89819f0f556274d\"",
			"fetched": 1600679318258
		}
	},
	"_distfiles": {
		"zwitch-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.0.tgz",
			"sha": "1ca2c5fe26445ac868b2f063454e89caad39df7b",
			"registry": "npmjs"
		},
		"zwitch-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.1.tgz",
			"sha": "c408158374fd3c32239214df68636488681acfee",
			"registry": "npmjs"
		},
		"zwitch-1.0.2.tgz": {
			"url": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.2.tgz",
			"sha": "9b059541bfa844799fe2d903bde609de2503a041",
			"registry": "npmjs"
		},
		"zwitch-1.0.3.tgz": {
			"url": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.3.tgz",
			"sha": "159fae4b3f737db1e42bf321d3423e4c96688a18",
			"registry": "npmjs"
		},
		"zwitch-1.0.4.tgz": {
			"url": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.4.tgz",
			"sha": "93b1b993b13c8926753a41afaf8f27bbfac6be8b",
			"registry": "npmjs"
		},
		"zwitch-1.0.5.tgz": {
			"url": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
			"sha": "d11d7381ffed16b742f6af7b3f223d5cd9fe9920",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"zwitch-1.0.5.tgz": {
			"shasum": "d11d7381ffed16b742f6af7b3f223d5cd9fe9920"
		}
	},
	"_rev": "2-c15b48bd0e4ca43a",
	"_id": "zwitch",
	"readme": "# zwitch\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nHandle values based on a property.\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install zwitch\n```\n\n## Use\n\n```js\nvar zwitch = require('zwitch')\n\nvar handle = zwitch('type')\n\nhandle.invalid = invalid\nhandle.unknown = unknown\nhandle.handlers.alpha = handle\n\nhandle({type: 'alpha'})\n```\n\nOr, with a `switch` statement:\n\n```javascript\nfunction handle(value) {\n  var fn\n\n  if (!value || typeof value !== 'object' || !('type' in value)) {\n    fn = invalid\n  } else {\n    switch (value.type) {\n      case 'alpha':\n        fn = handle\n        break\n      default:\n        fn = unknown\n        break\n    }\n  }\n\n  return fn.apply(this, arguments)\n}\n\nhandle({type: 'alpha'})\n```\n\n## API\n\n### `zwitch(key[, options])`\n\nCreate a functional switch, based on a `key` (`string`).\n\n###### `options`\n\nOptions can be omitted and added later to `one`.\n\n*   `handlers` (`Object.<Function>`, optional)\n    — Object mapping values to handle, stored on `one.handlers`\n*   `invalid` (`Function`, optional)\n    — Handle values without `key`, stored on `one.invalid`\n*   `unknown` (`Function`, optional)\n    — Handle values with an unhandled `key`, stored on `one.unknown`\n\n###### Returns\n\n`Function` — See [`one`][one].\n\n#### `one(value[, rest...])`\n\nHandle one value.  Based on the bound `key`, a respective handler will be\ninvoked.\nIf `value` is not an object, or doesn’t have a `key` property, the special\n“invalid” handler will be invoked.\nIf `value` has an unknown `key`, the special “unknown” handler will be invoked.\n\nAll arguments, and the context object, are passed through to the [handler][],\nand it’s result is returned.\n\n#### `one.handlers`\n\nMap of [handler][]s (`Object.<string, Function>`).\n\n#### `one.invalid`\n\nSpecial [`handler`][handler] invoked if a value doesn’t have a `key` property.\nIf not set, `undefined` is returned for invalid values.\n\n#### `one.unknown`\n\nSpecial [`handler`][handler] invoked if a value does not have a matching\nhandler.\nIf not set, `undefined` is returned for unknown values.\n\n### `function handler(value[, rest...])`\n\nHandle one value.\n\n## Related\n\n*   [`mapz`](https://github.com/wooorm/mapz)\n    — Functional map\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://img.shields.io/travis/wooorm/zwitch.svg\n\n[build]: https://travis-ci.org/wooorm/zwitch\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/zwitch.svg\n\n[coverage]: https://codecov.io/github/wooorm/zwitch\n\n[downloads-badge]: https://img.shields.io/npm/dm/zwitch.svg\n\n[downloads]: https://www.npmjs.com/package/zwitch\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/zwitch.svg\n\n[size]: https://bundlephobia.com/result?p=zwitch\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[one]: #onevalue-rest\n\n[handler]: #function-handlervalue-rest"
}