# fs-move

> Move directory with options

Latest version **8.0.0** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install fs-move
pnpm add fs-move
yarn add fs-move
bun add fs-move
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 8.0.0 |
| Published | 2026-09-10 |
| First published | 2019-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=22.11 |
| Dependencies | 2 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3 |
| Author | Kelly Selden |
| Maintainers | kellyselden |
| Keywords | merge, overwrite, dir, file, copy |

## Links

- npm: https://www.npmjs.com/package/fs-move
- Repository: https://github.com/kellyselden/fs-move
- Homepage: https://github.com/kellyselden/fs-move#readme
- Issues: https://github.com/kellyselden/fs-move/issues
- npm.io page: https://npm.io/package/fs-move

## Dependencies (2)

- [cpr](https://npm.io/package/cpr.md) ^3.0.1
- [rimraf](https://npm.io/package/rimraf.md) ^6.0.0

## 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

- 8.0.0 (latest) — 2026-09-10
- 7.1.0 — 2025-06-21
- 7.0.0 — 2025-06-21
- 6.0.0 — 2023-10-29
- 5.0.0 — 2023-07-07
- 4.0.2 — 2023-04-17
- 4.0.1 — 2023-01-14
- 4.0.0 — 2023-01-08
- 3.0.0 — 2021-05-28
- 2.0.1 — 2019-08-14
- 2.0.0 — 2019-07-22
- 1.3.0 — 2019-04-07
- 1.2.0 — 2019-04-07
- 1.1.1 — 2019-04-07
- 1.1.0 — 2019-04-07
- … 2 more at https://npm.io/package/fs-move/versions

## README

# fs-move

[![npm version](https://badge.fury.io/js/fs-move.svg)](https://badge.fury.io/js/fs-move)

Move directory with options

```js
const move = require('fs-move');

(async () => {
  await move(src, dest, {
    merge: false,
    overwrite: false,
    purge: false,
    filter(src, dest) {
      return true;
    }
  });
})();

// or using callback
move(src, dest, err => {
  if (err) {
    throw err;
  }
});
```

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