| 1 |
{ |
| 2 |
"_id": "is-extendable", |
| 3 |
"_rev": "5-5dc487fe60ad34f7ffe3f68d9e0947f4", |
| 4 |
"name": "is-extendable", |
| 5 |
"description": "Returns true if a value is a plain object, array or function.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.0.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "is-extendable", |
| 12 |
"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?\"", |
| 13 |
"version": "0.1.0", |
| 14 |
"homepage": "https://github.com/jonschlinkert/is-extendable", |
| 15 |
"author": { |
| 16 |
"name": "Jon Schlinkert", |
| 17 |
"url": "https://github.com/jonschlinkert" |
| 18 |
}, |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "git+https://github.com/jonschlinkert/is-extendable.git" |
| 22 |
}, |
| 23 |
"bugs": { |
| 24 |
"url": "https://github.com/jonschlinkert/is-extendable/issues" |
| 25 |
}, |
| 26 |
"license": "MIT", |
| 27 |
"files": [ |
| 28 |
"index.js" |
| 29 |
], |
| 30 |
"main": "index.js", |
| 31 |
"engines": { |
| 32 |
"node": ">=0.10.0" |
| 33 |
}, |
| 34 |
"scripts": { |
| 35 |
"test": "mocha" |
| 36 |
}, |
| 37 |
"devDependencies": { |
| 38 |
"mocha": "*" |
| 39 |
}, |
| 40 |
"keywords": [ |
| 41 |
"array", |
| 42 |
"assign", |
| 43 |
"check", |
| 44 |
"date", |
| 45 |
"extend", |
| 46 |
"extensible", |
| 47 |
"function", |
| 48 |
"is", |
| 49 |
"object", |
| 50 |
"regex", |
| 51 |
"test" |
| 52 |
], |
| 53 |
"_id": "[email protected]", |
| 54 |
"_shasum": "4957422f394effab3f0573555a1aa761c0171832", |
| 55 |
"_from": ".", |
| 56 |
"_npmVersion": "2.10.1", |
| 57 |
"_nodeVersion": "0.12.4", |
| 58 |
"_npmUser": { |
| 59 |
"name": "jonschlinkert", |
| 60 |
"email": "[email protected]" |
| 61 |
}, |
| 62 |
"maintainers": [ |
| 63 |
{ |
| 64 |
"name": "jonschlinkert", |
| 65 |
"email": "[email protected]" |
| 66 |
} |
| 67 |
], |
| 68 |
"dist": { |
| 69 |
"shasum": "4957422f394effab3f0573555a1aa761c0171832", |
| 70 |
"tarball": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.0.tgz" |
| 71 |
}, |
| 72 |
"directories": {} |
| 73 |
}, |
| 74 |
"0.1.1": { |
| 75 |
"name": "is-extendable", |
| 76 |
"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?\"", |
| 77 |
"version": "0.1.1", |
| 78 |
"homepage": "https://github.com/jonschlinkert/is-extendable", |
| 79 |
"author": { |
| 80 |
"name": "Jon Schlinkert", |
| 81 |
"url": "https://github.com/jonschlinkert" |
| 82 |
}, |
| 83 |
"repository": { |
| 84 |
"type": "git", |
| 85 |
"url": "git+https://github.com/jonschlinkert/is-extendable.git" |
| 86 |
}, |
| 87 |
"bugs": { |
| 88 |
"url": "https://github.com/jonschlinkert/is-extendable/issues" |
| 89 |
}, |
| 90 |
"license": "MIT", |
| 91 |
"files": [ |
| 92 |
"index.js" |
| 93 |
], |
| 94 |
"main": "index.js", |
| 95 |
"engines": { |
| 96 |
"node": ">=0.10.0" |
| 97 |
}, |
| 98 |
"scripts": { |
| 99 |
"test": "mocha" |
| 100 |
}, |
| 101 |
"devDependencies": { |
| 102 |
"mocha": "*" |
| 103 |
}, |
| 104 |
"keywords": [ |
| 105 |
"array", |
| 106 |
"assign", |
| 107 |
"check", |
| 108 |
"date", |
| 109 |
"extend", |
| 110 |
"extensible", |
| 111 |
"function", |
| 112 |
"is", |
| 113 |
"object", |
| 114 |
"regex", |
| 115 |
"test" |
| 116 |
], |
| 117 |
"verbiage": { |
| 118 |
"related": { |
| 119 |
"list": [ |
| 120 |
"isobject", |
| 121 |
"is-plain-object", |
| 122 |
"kind-of", |
| 123 |
"is-extendable", |
| 124 |
"is-equal-shallow", |
| 125 |
"extend-shallow", |
| 126 |
"assign-deep" |
| 127 |
] |
| 128 |
} |
| 129 |
}, |
| 130 |
"gitHead": "c36a0732e6a76931c6f66c5931d1f3e54fa44380", |
| 131 |
"_id": "[email protected]", |
| 132 |
"_shasum": "62b110e289a471418e3ec36a617d472e301dfc89", |
| 133 |
"_from": ".", |
| 134 |
"_npmVersion": "2.10.1", |
| 135 |
"_nodeVersion": "0.12.4", |
| 136 |
"_npmUser": { |
| 137 |
"name": "jonschlinkert", |
| 138 |
"email": "[email protected]" |
| 139 |
}, |
| 140 |
"maintainers": [ |
| 141 |
{ |
| 142 |
"name": "jonschlinkert", |
| 143 |
"email": "[email protected]" |
| 144 |
} |
| 145 |
], |
| 146 |
"dist": { |
| 147 |
"shasum": "62b110e289a471418e3ec36a617d472e301dfc89", |
| 148 |
"tarball": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz" |
| 149 |
}, |
| 150 |
"directories": {} |
| 151 |
}, |
| 152 |
"1.0.0": { |
| 153 |
"name": "is-extendable", |
| 154 |
"description": "Returns true if a value is a plain object, array or function.", |
| 155 |
"version": "1.0.0", |
| 156 |
"homepage": "https://github.com/jonschlinkert/is-extendable", |
| 157 |
"author": { |
| 158 |
"name": "Jon Schlinkert", |
| 159 |
"url": "https://github.com/jonschlinkert" |
| 160 |
}, |
| 161 |
"repository": { |
| 162 |
"type": "git", |
| 163 |
"url": "git+https://github.com/jonschlinkert/is-extendable.git" |
| 164 |
}, |
| 165 |
"bugs": { |
| 166 |
"url": "https://github.com/jonschlinkert/is-extendable/issues" |
| 167 |
}, |
| 168 |
"license": "MIT", |
| 169 |
"files": [ |
| 170 |
"index.js" |
| 171 |
], |
| 172 |
"main": "index.js", |
| 173 |
"engines": { |
| 174 |
"node": ">=0.10.0" |
| 175 |
}, |
| 176 |
"scripts": { |
| 177 |
"test": "mocha" |
| 178 |
}, |
| 179 |
"dependencies": { |
| 180 |
"is-plain-object": "^2.0.4" |
| 181 |
}, |
| 182 |
"devDependencies": { |
| 183 |
"gulp-format-md": "^1.0.0", |
| 184 |
"mocha": "^3.4.2" |
| 185 |
}, |
| 186 |
"keywords": [ |
| 187 |
"array", |
| 188 |
"assign", |
| 189 |
"check", |
| 190 |
"date", |
| 191 |
"extend", |
| 192 |
"extendable", |
| 193 |
"extensible", |
| 194 |
"function", |
| 195 |
"is", |
| 196 |
"object", |
| 197 |
"regex", |
| 198 |
"test" |
| 199 |
], |
| 200 |
"verb": { |
| 201 |
"related": { |
| 202 |
"list": [ |
| 203 |
"assign-deep", |
| 204 |
"is-equal-shallow", |
| 205 |
"is-plain-object", |
| 206 |
"isobject", |
| 207 |
"kind-of" |
| 208 |
] |
| 209 |
}, |
| 210 |
"toc": false, |
| 211 |
"layout": "default", |
| 212 |
"tasks": [ |
| 213 |
"readme" |
| 214 |
], |
| 215 |
"plugins": [ |
| 216 |
"gulp-format-md" |
| 217 |
], |
| 218 |
"lint": { |
| 219 |
"reflinks": true |
| 220 |
} |
| 221 |
}, |
| 222 |
"gitHead": "7e92faeeb30c13e384935b8db2dad3eae232d3ca", |
| 223 |
"_id": "[email protected]", |
| 224 |
"_npmVersion": "5.3.0", |
| 225 |
"_nodeVersion": "7.7.3", |
| 226 |
"_npmUser": { |
| 227 |
"name": "jonschlinkert", |
| 228 |
"email": "[email protected]" |
| 229 |
}, |
| 230 |
"maintainers": [ |
| 231 |
{ |
| 232 |
"name": "jonschlinkert", |
| 233 |
"email": "[email protected]" |
| 234 |
} |
| 235 |
], |
| 236 |
"dist": { |
| 237 |
"integrity": "sha512-VGiiJgYv3MjU+7d7X7bzrTMOgCDh6NDeJvvHZVh1wqRQvPWQfza8VuZqPydwcH5s0LklmLzWT3fWGwUpit2G0w==", |
| 238 |
"shasum": "fbfbab79eb9cea1e1e8ac8dbc3a8907b54baa486", |
| 239 |
"tarball": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.0.tgz" |
| 240 |
}, |
| 241 |
"_npmOperationalInternal": { |
| 242 |
"host": "s3://npm-registry-packages", |
| 243 |
"tmp": "tmp/is-extendable-1.0.0.tgz_1500584847981_0.7659969872329384" |
| 244 |
}, |
| 245 |
"directories": {} |
| 246 |
}, |
| 247 |
"1.0.1": { |
| 248 |
"name": "is-extendable", |
| 249 |
"description": "Returns true if a value is a plain object, array or function.", |
| 250 |
"version": "1.0.1", |
| 251 |
"homepage": "https://github.com/jonschlinkert/is-extendable", |
| 252 |
"author": { |
| 253 |
"name": "Jon Schlinkert", |
| 254 |
"url": "https://github.com/jonschlinkert" |
| 255 |
}, |
| 256 |
"repository": { |
| 257 |
"type": "git", |
| 258 |
"url": "git+https://github.com/jonschlinkert/is-extendable.git" |
| 259 |
}, |
| 260 |
"bugs": { |
| 261 |
"url": "https://github.com/jonschlinkert/is-extendable/issues" |
| 262 |
}, |
| 263 |
"license": "MIT", |
| 264 |
"files": [ |
| 265 |
"index.js", |
| 266 |
"index.d.ts" |
| 267 |
], |
| 268 |
"main": "index.js", |
| 269 |
"types": "index.d.ts", |
| 270 |
"engines": { |
| 271 |
"node": ">=0.10.0" |
| 272 |
}, |
| 273 |
"scripts": { |
| 274 |
"test": "mocha" |
| 275 |
}, |
| 276 |
"dependencies": { |
| 277 |
"is-plain-object": "^2.0.4" |
| 278 |
}, |
| 279 |
"devDependencies": { |
| 280 |
"gulp-format-md": "^1.0.0", |
| 281 |
"mocha": "^3.4.2" |
| 282 |
}, |
| 283 |
"keywords": [ |
| 284 |
"array", |
| 285 |
"assign", |
| 286 |
"check", |
| 287 |
"date", |
| 288 |
"extend", |
| 289 |
"extendable", |
| 290 |
"extensible", |
| 291 |
"function", |
| 292 |
"is", |
| 293 |
"object", |
| 294 |
"regex", |
| 295 |
"test" |
| 296 |
], |
| 297 |
"verb": { |
| 298 |
"related": { |
| 299 |
"list": [ |
| 300 |
"assign-deep", |
| 301 |
"is-equal-shallow", |
| 302 |
"is-plain-object", |
| 303 |
"isobject", |
| 304 |
"kind-of" |
| 305 |
] |
| 306 |
}, |
| 307 |
"toc": false, |
| 308 |
"layout": "default", |
| 309 |
"tasks": [ |
| 310 |
"readme" |
| 311 |
], |
| 312 |
"plugins": [ |
| 313 |
"gulp-format-md" |
| 314 |
], |
| 315 |
"lint": { |
| 316 |
"reflinks": true |
| 317 |
} |
| 318 |
}, |
| 319 |
"gitHead": "230717f6be5be812c16916ec8a745d6252dfa7a5", |
| 320 |
"_id": "[email protected]", |
| 321 |
"_npmVersion": "5.3.0", |
| 322 |
"_nodeVersion": "8.4.0", |
| 323 |
"_npmUser": { |
| 324 |
"name": "doowb", |
| 325 |
"email": "[email protected]" |
| 326 |
}, |
| 327 |
"dist": { |
| 328 |
"integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", |
| 329 |
"shasum": "a7470f9e426733d81bd81e1155264e3a3507cab4", |
| 330 |
"tarball": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz" |
| 331 |
}, |
| 332 |
"maintainers": [ |
| 333 |
{ |
| 334 |
"email": "[email protected]", |
| 335 |
"name": "doowb" |
| 336 |
}, |
| 337 |
{ |
| 338 |
"email": "[email protected]", |
| 339 |
"name": "jonschlinkert" |
| 340 |
} |
| 341 |
], |
| 342 |
"_npmOperationalInternal": { |
| 343 |
"host": "s3://npm-registry-packages", |
| 344 |
"tmp": "tmp/is-extendable-1.0.1.tgz_1505162306211_0.2682281613815576" |
| 345 |
}, |
| 346 |
"directories": {} |
| 347 |
} |
| 348 |
}, |
| 349 |
"readme": "# is-extendable [](https://www.npmjs.com/package/is-extendable) [](https://npmjs.org/package/is-extendable) [](https://npmjs.org/package/is-extendable) [](https://travis-ci.org/jonschlinkert/is-extendable)\n\n> Returns true if a value is a plain object, array or function.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-extendable\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* plain object\n* function\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 a plain object, function or array\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## Release history\n\n### v1.0.0 - 2017/07/20\n\n**Breaking changes**\n\n* No longer considers date, regex or error objects to be extendable\n\n## About\n\n### Related projects\n\n* [assign-deep](https://www.npmjs.com/package/assign-deep): Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… [more](https://github.com/jonschlinkert/assign-deep) | [homepage](https://github.com/jonschlinkert/assign-deep \"Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.\")\n* [is-equal-shallow](https://www.npmjs.com/package/is-equal-shallow): Does a shallow comparison of two objects, returning false if the keys or values differ. | [homepage](https://github.com/jonschlinkert/is-equal-shallow \"Does a shallow comparison of two objects, returning false if the keys or values differ.\")\n* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object \"Returns true if an object was created by the `Object` constructor.\")\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject \"Returns true if the value is an object and not an array or null.\")\n* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of \"Get the native type of a value.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 20, 2017._", |
| 350 |
"maintainers": [ |
| 351 |
{ |
| 352 |
"email": "[email protected]", |
| 353 |
"name": "doowb" |
| 354 |
}, |
| 355 |
{ |
| 356 |
"email": "[email protected]", |
| 357 |
"name": "jonschlinkert" |
| 358 |
} |
| 359 |
], |
| 360 |
"time": { |
| 361 |
"modified": "2017-09-11T20:38:26.333Z", |
| 362 |
"created": "2015-06-29T03:05:39.042Z", |
| 363 |
"0.1.0": "2015-06-29T03:05:39.042Z", |
| 364 |
"0.1.1": "2015-07-04T22:50:11.330Z", |
| 365 |
"1.0.0": "2017-07-20T21:07:29.084Z", |
| 366 |
"1.0.1": "2017-09-11T20:38:26.333Z" |
| 367 |
}, |
| 368 |
"homepage": "https://github.com/jonschlinkert/is-extendable", |
| 369 |
"keywords": [ |
| 370 |
"array", |
| 371 |
"assign", |
| 372 |
"check", |
| 373 |
"date", |
| 374 |
"extend", |
| 375 |
"extendable", |
| 376 |
"extensible", |
| 377 |
"function", |
| 378 |
"is", |
| 379 |
"object", |
| 380 |
"regex", |
| 381 |
"test" |
| 382 |
], |
| 383 |
"repository": { |
| 384 |
"type": "git", |
| 385 |
"url": "git+https://github.com/jonschlinkert/is-extendable.git" |
| 386 |
}, |
| 387 |
"author": { |
| 388 |
"name": "Jon Schlinkert", |
| 389 |
"url": "https://github.com/jonschlinkert" |
| 390 |
}, |
| 391 |
"bugs": { |
| 392 |
"url": "https://github.com/jonschlinkert/is-extendable/issues" |
| 393 |
}, |
| 394 |
"license": "MIT", |
| 395 |
"readmeFilename": "README.md", |
| 396 |
"_attachments": {} |
| 397 |
} |