UNPKG

is-explicit

Version:

Combines instance of operator and typeof operator in a way that works seamlessly with objects and literals.

51 lines (50 loc) 1.45 kB
{ "name": "is-explicit", "version": "3.0.1", "description": "Combines instance of operator and typeof operator in a way that works seamlessly with objects and literals.", "main": "lib", "scripts": { "lint": "eslint src --fix", "test": "mocha --opts .mocha.opts", "test:dev": "npx watch 'npm run test' src", "babel": "rm -rf lib; mkdir lib; babel src --out-dir lib", "babel:dev": "npm run babel -- --watch", "prepublishOnly": "npm run lint && npm run test && npm run babel" }, "repository": { "type": "git", "url": "git+https://github.com/BenZed/is-explicit" }, "keywords": [ "is", "operator", "explicit", "type-check", "type" ], "author": "Ben Gaumond", "license": "ISC", "bugs": { "url": "https://github.com/BenZed/is-explicit/issues" }, "homepage": "https://github.com/BenZed/is-explicit#readme", "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.2.2", "@babel/plugin-proposal-function-bind": "^7.2.0", "@babel/polyfill": "^7.2.5", "@babel/register": "^7.0.0", "babel-eslint": "^10.0.1", "chai": "^4.2.0", "eslint": "^5.12.1", "eslint-config-standard": "^12.0.0", "eslint-plugin-import": "^2.15.0", "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "mocha": "^5.2.0" }, "dependencies": { "@babel/preset-env": "^7.3.1" } }