# is-empty-object-all-methods

> > 5 functions to test if an object is empty or nah

Latest version **0.1.0** (published 2019-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-empty-object-all-methods
pnpm add is-empty-object-all-methods
yarn add is-empty-object-all-methods
bun add is-empty-object-all-methods
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-08-07 |
| First published | 2019-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Imed Adel |
| Maintainers | imedadel |

## Links

- npm: https://www.npmjs.com/package/is-empty-object-all-methods
- Repository: https://github.com/ImedAdel/is-empty-object-all-methods
- Issues: https://github.com/ImedAdel/is-empty-object-all-methods/issues
- npm.io page: https://npm.io/package/is-empty-object-all-methods

## Recent versions

- 0.1.0 (latest) — 2019-08-07

## README

# is-empty-object-all-methods
> 5 functions to test if an object is empty or nah

## Usage

```js
import isEmpty from "is-empty-object-all-methods"

console.log(isEmpty.useEntries({}))
//=> true
```

Or, use a named import

```js
import {useEntries} from "is-empty-object-all-methods"

console.log(useEntries({}))
//=> true
```

## API

### `useEntries()`
> relies on Object.entries()

### `useEntriesWOC()`
> same as `useEntries()` but doesn't check for Object

### `useKeys()`
> relies on Object.keys()

### `useKeysWOC()`
> same as `useKeys()` but doesn't check for Object

### `useForIn()`
> relies on for .. in loop

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