UNPKG

motion

Version:

motion - moving development forward

92 lines (91 loc) 4.72 kB
{ "_args": [ [ "isobject@https://registry.npmjs.org/isobject/-/isobject-2.0.0.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "isobject@>=2.0.0 <3.0.0", "_id": "isobject@2.0.0", "_inCache": true, "_location": "/isobject", "_phantomChildren": {}, "_requested": { "name": "isobject", "raw": "isobject@https://registry.npmjs.org/isobject/-/isobject-2.0.0.tgz", "rawSpec": "https://registry.npmjs.org/isobject/-/isobject-2.0.0.tgz", "scope": null, "spec": "https://registry.npmjs.org/isobject/-/isobject-2.0.0.tgz", "type": "remote" }, "_requiredBy": [ "/fill-range", "/gulp-uglify" ], "_resolved": "https://registry.npmjs.org/isobject/-/isobject-2.0.0.tgz", "_shasum": "208de872bd7378c2a92af9428a3f56eb91a122c4", "_shrinkwrap": null, "_spec": "isobject@https://registry.npmjs.org/isobject/-/isobject-2.0.0.tgz", "_where": "/Users/nw/flint/packages/flint", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/isobject/issues" }, "dependencies": { "isarray": "0.0.1" }, "description": "Returns true if the value is an object and not an array or null.", "devDependencies": { "mocha": "*" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "homepage": "https://github.com/jonschlinkert/isobject", "keywords": [ "check", "is", "is-object", "isobject", "kind", "kind-of", "kindof", "native", "object", "type", "typeof", "value" ], "license": "MIT", "main": "index.js", "name": "isobject", "optionalDependencies": {}, "readme": "# isobject [![NPM version](https://badge.fury.io/js/isobject.svg)](http://badge.fury.io/js/isobject) [![Build Status](https://travis-ci.org/jonschlinkert/isobject.svg)](https://travis-ci.org/jonschlinkert/isobject)\n\n> Returns true if the value is an object and not an array or null.\n\nUse [is-plain-object](https://github.com/jonschlinkert/is-plain-object) if you want only objects that are created by the `Object` constructor.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i isobject --save\n```\n\nInstall with [bower](http://bower.io/)\n\n```sh\n$ bower install isobject --save\n```\n\n## Usage\n\n```js\nvar isObject = require('isobject');\n```\n\n**True**\n\nAll of the following return `true`:\n\n```js\nisObject({});\nisObject(Object.create({}));\nisObject(Object.create(Object.prototype));\nisObject(Object.create(null));\nisObject({});\nisObject(new Foo);\nisObject(/foo/);\n```\n\n**False**\n\nAll of the following return `false`:\n\n```js\nisObject();\nisObject(function () {});\nisObject(1);\nisObject([]);\nisObject(undefined);\nisObject(null);\n```\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* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.\n* [is-extendable](https://github.com/jonschlinkert/is-extendable): Returns true if a value is any of the object types: array, regexp, plain object,… [more](https://github.com/jonschlinkert/is-extendable)\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## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/isobject/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 © 2014-2015 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 20, 2015._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/isobject.git" }, "scripts": { "test": "mocha" }, "verb": { "related": { "list": [ "assign-deep", "extend-shallow", "is-equal-shallow", "is-extendable", "is-plain-object", "kind-of" ] } }, "version": "2.0.0" }