# is-object

> Checks whether a value is an object

Latest version **1.0.2** (published 2020-12-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-object
pnpm add is-object
yarn add is-object
bun add is-object
```

## Health

**Score 33/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-12-02 |
| First published | 2013-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/is-object) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Raynos |
| Maintainers | ljharb, raynos |

## Links

- npm: https://www.npmjs.com/package/is-object
- Repository: https://github.com/inspect-js/is-object
- Issues: https://github.com/inspect-js/is-object/issues
- Funding: https://github.com/sponsors/ljharb
- npm.io page: https://npm.io/package/is-object

## Recent versions

- 1.0.2 (latest) — 2020-12-02
- 1.0.1 — 2014-09-02
- 1.0.0 — 2014-08-19
- 0.1.2 — 2013-03-13

## README

# is-object <sup>[![Version Badge][npm-version-svg]][npm-url]</sup>

[![dependency status][deps-svg]][deps-url]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][npm-badge-png]][npm-url]

Checks whether a value is an object

Because `typeof null` is a troll.

## Example

```js
var isObject = require('is-object');
var assert = require('assert');

assert.equal(isObject(null), false);
assert.equal(isObject({}), true);
```

## Installation

`npm install is-object`

## Contributors

 - [Raynos][raynos-github]
 - [Jordan Harband][ljharb-github]

## MIT Licensed

[deps-svg]: http://david-dm.org/inspect-js/is-object/status.svg
[deps-url]: http://david-dm.org/inspect-js/is-object
[raynos-github]: https://github.com/Raynos
[ljharb-github]: https://github.com/ljharb
[dev-deps-svg]: https://david-dm.org/inspect-js/is-object/dev-status.svg
[dev-deps-url]: https://david-dm.org/inspect-js/is-object#info=devDependencies
[npm-url]: https://npmjs.org/package/is-object
[npm-version-svg]: http://versionbadg.es/inspect-js/is-object.svg
[npm-badge-png]: https://nodei.co/npm/is-object.png?downloads=true&stars=true
[license-image]: http://img.shields.io/npm/l/is-object.svg
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/is-object.svg
[downloads-url]: http://npm-stat.com/charts.html?package=is-object

---
_Source: https://npm.io/package/is-object · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
