# x-is-empty-object

> x is either {} or new Object()

Latest version **1.0.2** (published 2016-11-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install x-is-empty-object
pnpm add x-is-empty-object
yarn add x-is-empty-object
bun add x-is-empty-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.2 |
| Published | 2016-11-22 |
| First published | 2016-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | @serapath |
| Maintainers | serapath |

## Links

- npm: https://www.npmjs.com/package/x-is-empty-object
- Repository: https://github.com/serapath/x-is-empty-object
- Homepage: https://github.com/serapath/x-is-empty-object#readme
- Issues: https://github.com/serapath/x-is-empty-object/issues
- npm.io page: https://npm.io/package/x-is-empty-object

## Recent versions

- 1.0.2 (latest) — 2016-11-22
- 1.0.1 — 2016-09-06
- 1.0.0 — 2016-09-06

## README

# x-is-empty-object
x is either `{}` or `new Object()`

# usage
`npm install x-is-empty-object`

```js
  var xEmptyObject = require('x-is-empty-object')

  xEmptyObject({}) // => true
  xEmptyObject(new Object) // => true
  xEmptyObject(new Object()) // => true

  xEmptyObject([]) // => false
  xEmptyObject('') // => false
  xEmptyObject(new Date) // => false
  xEmptyObject(null) // => false
  xEmptyObject() // => false
  xEmptyObject(function(){}) // => false
  xEmptyObject(new RegExp) // => false
```


# related
a list of other `x-is-...` modules can be found at
* [x-is](https://www.npmjs.com/package/x-is)

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