116 lines
5.3 KiB
JSON
116 lines
5.3 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "is-extendable@^0.1.1",
|
|
"scope": null,
|
|
"escapedName": "is-extendable",
|
|
"name": "is-extendable",
|
|
"rawSpec": "^0.1.1",
|
|
"spec": ">=0.1.1 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/object.omit"
|
|
]
|
|
],
|
|
"_from": "is-extendable@>=0.1.1 <0.2.0",
|
|
"_id": "is-extendable@0.1.1",
|
|
"_inCache": true,
|
|
"_location": "/is-extendable",
|
|
"_nodeVersion": "0.12.4",
|
|
"_npmUser": {
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
"_npmVersion": "2.10.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "is-extendable@^0.1.1",
|
|
"scope": null,
|
|
"escapedName": "is-extendable",
|
|
"name": "is-extendable",
|
|
"rawSpec": "^0.1.1",
|
|
"spec": ">=0.1.1 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/object.omit"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
|
|
"_shasum": "62b110e289a471418e3ec36a617d472e301dfc89",
|
|
"_shrinkwrap": null,
|
|
"_spec": "is-extendable@^0.1.1",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/object.omit",
|
|
"author": {
|
|
"name": "Jon Schlinkert",
|
|
"url": "https://github.com/jonschlinkert"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jonschlinkert/is-extendable/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. \"can the value have keys?\"",
|
|
"devDependencies": {
|
|
"mocha": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "62b110e289a471418e3ec36a617d472e301dfc89",
|
|
"tarball": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "c36a0732e6a76931c6f66c5931d1f3e54fa44380",
|
|
"homepage": "https://github.com/jonschlinkert/is-extendable",
|
|
"keywords": [
|
|
"array",
|
|
"assign",
|
|
"check",
|
|
"date",
|
|
"extend",
|
|
"extensible",
|
|
"function",
|
|
"is",
|
|
"object",
|
|
"regex",
|
|
"test"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
}
|
|
],
|
|
"name": "is-extendable",
|
|
"optionalDependencies": {},
|
|
"readme": "# is-extendable [![NPM version](https://badge.fury.io/js/is-extendable.svg)](http://badge.fury.io/js/is-extendable)\n\n> Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. \"can the value have keys?\"\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i is-extendable --save\n```\n\n## Usage\n\n```js\nvar isExtendable = require('is-extendable');\n```\n\nReturns true if the value is any of the following:\n\n* `array`\n* `regexp`\n* `plain object`\n* `function`\n* `date`\n* `error`\n\n## Notes\n\nAll objects in JavaScript can have keys, but it's a pain to check for this, since we ether need to verify that the value is not `null` or `undefined` and:\n\n* the value is not a primitive, or\n* that the object is an `object`, `function`\n\nAlso note that an `extendable` object is not the same as an [extensible object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible), which is one that (in es6) is not sealed, frozen, or marked as non-extensible using `preventExtensions`.\n\n## Related projects\n\n* [assign-deep](https://github.com/jonschlinkert/assign-deep): Deeply assign the enumerable properties of source objects to a destination object.\n* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.\n* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.\n* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.\n* [is-equal-shallow](https://github.com/jonschlinkert/is-equal-shallow): Does a shallow comparison of two objects, returning false if the keys or values differ.\n* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value.\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-extendable/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 04, 2015._",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jonschlinkert/is-extendable.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"verbiage": {
|
|
"related": {
|
|
"list": [
|
|
"isobject",
|
|
"is-plain-object",
|
|
"kind-of",
|
|
"is-extendable",
|
|
"is-equal-shallow",
|
|
"extend-shallow",
|
|
"assign-deep"
|
|
]
|
|
}
|
|
},
|
|
"version": "0.1.1"
|
|
}
|