# flattening

> Node.js flattening object

Latest version **2.4.3** (published 2022-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install flattening
pnpm add flattening
yarn add flattening
bun add flattening
```

## 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 | 2.4.3 |
| Published | 2022-08-11 |
| First published | 2022-02-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dimitry Ivanov |
| Maintainers | ivanoff |
| Keywords | flattening, flattening object |

## Links

- npm: https://www.npmjs.com/package/flattening
- Repository: https://github.com/ivanoff/flattening
- Homepage: https://github.com/ivanoff/flattening#readme
- Issues: https://github.com/ivanoff/flattening/issues
- npm.io page: https://npm.io/package/flattening

## Recent versions

- 2.4.3 (latest) — 2022-08-11
- 2.4.2 — 2022-02-21
- 2.3.2 — 2022-02-20
- 2.3.1 — 2022-02-20

## README

# Node.js object flattening

## flattening

## Instalation

`npm i -S flattening`

## Usage

```javascript
const flattening = require('flattening');

const obj = {a: 1, b: {c: { d: 4 }}};
const flatObj = flattening(obj);

console.log(flatObj); // { a: 1, 'b.c.d': 4 }
```

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