# @alexspirgel/is-plain-object

> A utility function that returns true if the argument is a plain object. Otherwise returns false.

Latest version **1.0.6** (published 2021-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @alexspirgel/is-plain-object
pnpm add @alexspirgel/is-plain-object
yarn add @alexspirgel/is-plain-object
bun add @alexspirgel/is-plain-object
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-12-15 |
| First published | 2020-12-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alexander Spirgel |
| Maintainers | alexspirgel |
| Keywords | is-plain-object, isplainobject, plain, object |

## Links

- npm: https://www.npmjs.com/package/@alexspirgel/is-plain-object
- Repository: https://github.com/alexspirgel/is-plain-object
- Homepage: https://github.com/alexspirgel/is-plain-object#readme
- Issues: https://github.com/alexspirgel/is-plain-object/issues
- npm.io page: https://npm.io/package/@alexspirgel/is-plain-object

## Recent versions

- 1.0.6 (latest) — 2021-12-15
- 1.0.5 — 2021-11-02
- 1.0.4 — 2021-11-01
- 1.0.3 — 2021-11-01
- 1.0.2 — 2021-09-06
- 1.0.1 — 2020-12-03
- 1.0.0 — 2020-12-03

## README

# Is Plain Object
A utility function that returns `true` if the argument is a plain object. Otherwise returns `false`.

For the purposes of this script, a plain object is an object that was created by explicitly specifying keys and values. An object created by a constructor is not a plain object.

## Installation

### Using NPM:

```js
npm install @alexspirgel/is-plain-object
```

```js
const isPlainObject = require('@alexspirgel/is-plain-object');
```

## Usage

```js
isPlainObject({}); // returns true
isPlainObject({'a':1, 'b':{'c':3}}); // returns true
isPlainObject(null); // returns false
isPlainObject(Error); // returns false
```

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