Socket
Socket
Sign inDemoInstall

is-obj

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

7

package.json
{
"name": "is-obj",
"version": "1.0.0",
"version": "1.0.1",
"description": "Check if a value is an object",

@@ -16,3 +16,3 @@ "license": "MIT",

"scripts": {
"test": "node test.js"
"test": "xo && ava"
},

@@ -31,4 +31,5 @@ "files": [

"devDependencies": {
"ava": "0.0.4"
"ava": "*",
"xo": "*"
}
}

@@ -5,3 +5,3 @@ # is-obj [![Build Status](https://travis-ci.org/sindresorhus/is-obj.svg?branch=master)](https://travis-ci.org/sindresorhus/is-obj)

Keep in mind that array, function, regexp, etc, are objects in JavaScript.
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.

@@ -20,3 +20,3 @@

```js
var isObj = require('is-obj');
const isObj = require('is-obj');

@@ -30,3 +30,3 @@ isObj({foo: 'bar'});

isObj('foo');
//=> true
//=> false
```

@@ -37,2 +37,2 @@

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc