{ "_from": "zwitch@^1.0.0", "_id": "zwitch@1.0.4", "_inBundle": false, "_integrity": "sha512-YO803/X+13GNaZB7fVopjvHH0uWQKgJkgKnU1YCjxShjKGVuN9PPHHW8g+uFDpkHpSTNi3rCMKMewIcbC1BAYg==", "_location": "/zwitch", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "zwitch@^1.0.0", "name": "zwitch", "escapedName": "zwitch", "rawSpec": "^1.0.0", "saveSpec": null, "fetchSpec": "^1.0.0" }, "_requiredBy": [ "/hast-util-raw", "/hast-util-to-parse5" ], "_resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.4.tgz", "_shasum": "93b1b993b13c8926753a41afaf8f27bbfac6be8b", "_spec": "zwitch@^1.0.0", "_where": "/Users/stefanfejes/Projects/30-seconds-of-python-code/node_modules/hast-util-raw", "author": { "name": "Titus Wormer", "email": "tituswormer@gmail.com", "url": "https://wooorm.com" }, "bugs": { "url": "https://github.com/wooorm/zwitch/issues" }, "bundleDependencies": false, "contributors": [ { "name": "Titus Wormer", "email": "tituswormer@gmail.com", "url": "https://wooorm.com" } ], "dependencies": {}, "deprecated": false, "description": "Handle values based on a property", "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" }, "files": [ "index.js" ], "homepage": "https://github.com/wooorm/zwitch#readme", "keywords": [ "handle", "switch", "property" ], "license": "MIT", "name": "zwitch", "nyc": { "check-coverage": true, "lines": 100, "functions": 100, "branches": 100 }, "prettier": { "tabWidth": 2, "useTabs": false, "singleQuote": true, "bracketSpacing": false, "semi": false, "trailingComma": "none" }, "remarkConfig": { "plugins": [ "preset-wooorm" ] }, "repository": { "type": "git", "url": "git+https://github.com/wooorm/zwitch.git" }, "scripts": { "build": "npm run build-bundle && npm run build-mangle", "build-bundle": "browserify . -s zwitch -o zwitch.js", "build-mangle": "browserify . -s zwitch -p tinyify -o zwitch.min.js", "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix", "test": "npm run format && npm run build && npm run test-coverage", "test-api": "node test", "test-coverage": "nyc --reporter lcov tape test.js" }, "version": "1.0.4", "xo": { "prettier": true, "esnext": false, "ignores": [ "zwitch.js" ] } }