151 lines
5.9 KiB
JSON
151 lines
5.9 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "is-callable@^1.1.3",
|
|
"scope": null,
|
|
"escapedName": "is-callable",
|
|
"name": "is-callable",
|
|
"rawSpec": "^1.1.3",
|
|
"spec": ">=1.1.3 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/es-abstract"
|
|
]
|
|
],
|
|
"_from": "is-callable@>=1.1.3 <2.0.0",
|
|
"_id": "is-callable@1.1.3",
|
|
"_inCache": true,
|
|
"_location": "/is-callable",
|
|
"_nodeVersion": "5.7.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-6-west.internal.npmjs.com",
|
|
"tmp": "tmp/is-callable-1.1.3.tgz_1456622777980_0.3157460247166455"
|
|
},
|
|
"_npmUser": {
|
|
"name": "ljharb",
|
|
"email": "ljharb@gmail.com"
|
|
},
|
|
"_npmVersion": "3.6.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "is-callable@^1.1.3",
|
|
"scope": null,
|
|
"escapedName": "is-callable",
|
|
"name": "is-callable",
|
|
"rawSpec": "^1.1.3",
|
|
"spec": ">=1.1.3 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/es-abstract",
|
|
"/es-to-primitive"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz",
|
|
"_shasum": "86eb75392805ddc33af71c92a0eedf74ee7604b2",
|
|
"_shrinkwrap": null,
|
|
"_spec": "is-callable@^1.1.3",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/es-abstract",
|
|
"author": {
|
|
"name": "Jordan Harband",
|
|
"email": "ljharb@gmail.com",
|
|
"url": "http://ljharb.codes"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ljharb/is-callable/issues"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Jordan Harband",
|
|
"email": "ljharb@gmail.com",
|
|
"url": "http://ljharb.codes"
|
|
}
|
|
],
|
|
"dependencies": {},
|
|
"description": "Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.",
|
|
"devDependencies": {
|
|
"@ljharb/eslint-config": "^2.1.1",
|
|
"covert": "^1.1.0",
|
|
"editorconfig-tools": "^0.1.1",
|
|
"eslint": "^2.2.0",
|
|
"foreach": "^2.0.5",
|
|
"jscs": "^2.10.1",
|
|
"make-arrow-function": "^1.1.0",
|
|
"make-generator-function": "^1.1.0",
|
|
"nsp": "^2.2.0",
|
|
"parallelshell": "^2.0.0",
|
|
"semver": "^5.1.0",
|
|
"tape": "^4.4.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "86eb75392805ddc33af71c92a0eedf74ee7604b2",
|
|
"tarball": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
},
|
|
"gitHead": "24d113fb908482c43ef4f6a5a27614314e7bb0df",
|
|
"homepage": "https://github.com/ljharb/is-callable#readme",
|
|
"keywords": [
|
|
"Function",
|
|
"function",
|
|
"callable",
|
|
"generator",
|
|
"generator function",
|
|
"arrow",
|
|
"arrow function",
|
|
"ES6",
|
|
"toStringTag",
|
|
"@@toStringTag"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "ljharb",
|
|
"email": "ljharb@gmail.com"
|
|
}
|
|
],
|
|
"name": "is-callable",
|
|
"optionalDependencies": {},
|
|
"readme": "# is-callable <sup>[![Version Badge][2]][1]</sup>\n\n[![Build Status][3]][4]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\n[![browser support][9]][10]\n\nIs this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isCallable = require('is-callable');\nvar assert = require('assert');\n\nassert.notOk(isCallable(undefined));\nassert.notOk(isCallable(null));\nassert.notOk(isCallable(false));\nassert.notOk(isCallable(true));\nassert.notOk(isCallable([]));\nassert.notOk(isCallable({}));\nassert.notOk(isCallable(/a/g));\nassert.notOk(isCallable(new RegExp('a', 'g')));\nassert.notOk(isCallable(new Date()));\nassert.notOk(isCallable(42));\nassert.notOk(isCallable(NaN));\nassert.notOk(isCallable(Infinity));\nassert.notOk(isCallable(new Number(42)));\nassert.notOk(isCallable('foo'));\nassert.notOk(isCallable(Object('foo')));\n\nassert.ok(isCallable(function () {}));\nassert.ok(isCallable(function* () {}));\nassert.ok(isCallable(x => x * x));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-callable\n[2]: http://versionbadg.es/ljharb/is-callable.svg\n[3]: https://travis-ci.org/ljharb/is-callable.svg\n[4]: https://travis-ci.org/ljharb/is-callable\n[5]: https://david-dm.org/ljharb/is-callable.svg\n[6]: https://david-dm.org/ljharb/is-callable\n[7]: https://david-dm.org/ljharb/is-callable/dev-status.svg\n[8]: https://david-dm.org/ljharb/is-callable#info=devDependencies\n[9]: https://ci.testling.com/ljharb/is-callable.png\n[10]: https://ci.testling.com/ljharb/is-callable\n[11]: https://nodei.co/npm/is-callable.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-callable.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-callable.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-callable\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/ljharb/is-callable.git"
|
|
},
|
|
"scripts": {
|
|
"coverage": "covert test.js",
|
|
"coverage-quiet": "covert test.js --quiet",
|
|
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null",
|
|
"eslint": "eslint *.js",
|
|
"jscs": "jscs *.js",
|
|
"lint": "npm run jscs && npm run eslint",
|
|
"security": "nsp check",
|
|
"test": "npm run lint && npm run tests-only && npm run security",
|
|
"test:staging": "node --es-staging test.js",
|
|
"test:stock": "node test.js",
|
|
"tests-only": "parallelshell 'npm run test:stock' 'npm run test:staging'"
|
|
},
|
|
"testling": {
|
|
"files": "test.js",
|
|
"browsers": [
|
|
"iexplore/6.0..latest",
|
|
"firefox/3.0..6.0",
|
|
"firefox/15.0..latest",
|
|
"firefox/nightly",
|
|
"chrome/4.0..10.0",
|
|
"chrome/20.0..latest",
|
|
"chrome/canary",
|
|
"opera/10.0..latest",
|
|
"opera/next",
|
|
"safari/4.0..latest",
|
|
"ipad/6.0..latest",
|
|
"iphone/6.0..latest",
|
|
"android-browser/4.2"
|
|
]
|
|
},
|
|
"version": "1.1.3"
|
|
}
|