# Install flat with npm

Take a nested Javascript object and flatten it, or unflatten an object with delimited keys. Version 6.0.1 via npm; verified 2023-09-19.

## Install

```sh
sudo av install npm:flat
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g flat
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:flat
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/flat>
- **Version:** 6.0.1
- **Source summary:** Take a nested Javascript object and flatten it, or unflatten an object with delimited keys
- **Homepage:** <https://github.com/hughsk/flat>
- **Repository:** <https://github.com/hughsk/flat>
- **Upstream docs:** <https://github.com/hughsk/flat>
- **License:** BSD-3-Clause
- **Source archive:** <https://registry.npmjs.org/flat/-/flat-6.0.1.tgz>
- **Issue tracker:** <https://github.com/hughsk/flat/issues>
- **Published:** 2023-09-19T14:47:19.548Z
- **Last updated:** 2023-09-19T14:47:19.548Z
- **Generated:** 2026-07-10T07:20:53+00:00

## Executables

- flat (cli)
- flat (alias)

## Build dependencies

- standard

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-10
- Package-manager version: 6.0.1
- Package-manager updated: 2023-09-19
- Local data: ok
- Upstream repository: https://github.com/hughsk/flat
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for flat. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 6.0.1
- **Version Count:** 28
- **Maintainers:** hughsk, timoxley, jkoops
- **Author:** Hugh Kennedy
- **Publisher:** jkoops
- **Engines:** Node: >=18
- **Integrity:** sha512-/3FfIa8mbrg3xE7+wAhWeV+bd7L2Mof+xtZb5dRDKZ+wDvYJK4WDYeIOuOhre5Yv5aQObZrlbRmk3RTSiuQBtw==
- **Shasum:** 09070cf918293b401577f20843edeadf4d3e8755
- **Unpacked Size:** 11,951
- **File Count:** 0
- **Created At:** 2012-10-05T16:52:54.470Z
- **Latest Published At:** 2023-09-19T14:47:19.548Z
- **Modified At:** 2023-09-19T14:47:19.831Z

## Other Package-Manager Records

- winget - netless-io.flat: normalized package name match | Windows Package Manager source index: netless-io.flat from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [expand-object](https://www.automicvault.com/pkg/npm/expand-object/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, javascript, keys, nested.
- [xml-js](https://www.automicvault.com/pkg/npm/xml-js/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, javascript, json, object.
- [dot-object](https://www.automicvault.com/pkg/npm/dot-object/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, it, json, object.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
