# @hapi/file

> General purpose file utilities

Latest version **3.0.0** (published 2022-05-30) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @hapi/file
pnpm add @hapi/file
yarn add @hapi/file
bun add @hapi/file
```

## Health

**Score 35/100 (D)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2022-05-30 |
| First published | 2019-06-26 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | hueniverse, nlf, devinivy, wyatt, lloydbenson, nargonath |
| Keywords | utilities, file |

## Links

- npm: https://www.npmjs.com/package/@hapi/file
- Repository: https://github.com/hapijs/file
- Homepage: https://github.com/hapijs/file#readme
- Issues: https://github.com/hapijs/file/issues
- npm.io page: https://npm.io/package/@hapi/file

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 3.0.0 (latest) — 2022-05-30
- 4.0.0-rc.0 (next) — 2026-08-02
- 2.0.0 — 2020-01-05
- 1.0.0 — 2019-06-26

## README

<a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>

# @hapi/file

#### General purpose file utilities.

**file** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) – they work even better together.

### Visit the [hapi.dev](https://hapi.dev) Developer Portal for tutorials, documentation, and support

## Useful resources

- [Documentation and API](https://hapi.dev/family/file/)
- [Versions status](https://hapi.dev/resources/status/#file) (builds, dependencies, node versions, licenses, eol)
- [Changelog](https://hapi.dev/family/file/changelog/)
- [Project policies](https://hapi.dev/policies/)
- [Free and commercial support options](https://hapi.dev/support/)

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