diff options
Diffstat (limited to 'node_modules/is-obj')
-rw-r--r-- | node_modules/is-obj/index.js | 5 | ||||
-rw-r--r-- | node_modules/is-obj/license | 21 | ||||
-rw-r--r-- | node_modules/is-obj/package.json | 65 | ||||
-rw-r--r-- | node_modules/is-obj/readme.md | 34 |
4 files changed, 0 insertions, 125 deletions
diff --git a/node_modules/is-obj/index.js b/node_modules/is-obj/index.js deleted file mode 100644 index 4d023bc..0000000 --- a/node_modules/is-obj/index.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; -module.exports = function (x) { - var type = typeof x; - return x !== null && (type === 'object' || type === 'function'); -}; diff --git a/node_modules/is-obj/license b/node_modules/is-obj/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/is-obj/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/is-obj/package.json b/node_modules/is-obj/package.json deleted file mode 100644 index 9b45ca6..0000000 --- a/node_modules/is-obj/package.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "_from": "is-obj@^1.0.0", - "_id": "is-obj@1.0.1", - "_inBundle": false, - "_integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", - "_location": "/is-obj", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "is-obj@^1.0.0", - "name": "is-obj", - "escapedName": "is-obj", - "rawSpec": "^1.0.0", - "saveSpec": null, - "fetchSpec": "^1.0.0" - }, - "_requiredBy": [ - "/dot-prop" - ], - "_resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "_shasum": "3e4729ac1f5fde025cd7d83a896dab9f4f67db0f", - "_spec": "is-obj@^1.0.0", - "_where": "/home/pruss/Dev/3-minute-website/node_modules/dot-prop", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/is-obj/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Check if a value is an object", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/sindresorhus/is-obj#readme", - "keywords": [ - "obj", - "object", - "is", - "check", - "test", - "type" - ], - "license": "MIT", - "name": "is-obj", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/is-obj.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "1.0.1" -} diff --git a/node_modules/is-obj/readme.md b/node_modules/is-obj/readme.md deleted file mode 100644 index d311026..0000000 --- a/node_modules/is-obj/readme.md +++ /dev/null @@ -1,34 +0,0 @@ -# is-obj [](https://travis-ci.org/sindresorhus/is-obj) - -> Check if a value is an object - -Keep in mind that array, function, regexp, etc, are objects in JavaScript.<br> -See [`is-plain-obj`](https://github.com/sindresorhus/is-plain-obj) if you want to check for plain objects. - - -## Install - -``` -$ npm install --save is-obj -``` - - -## Usage - -```js -const isObj = require('is-obj'); - -isObj({foo: 'bar'}); -//=> true - -isObj([1, 2, 3]); -//=> true - -isObj('foo'); -//=> false -``` - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) |