# @types/mv

> TypeScript definitions for mv

Latest version **2.1.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/mv
pnpm add @types/mv
yarn add @types/mv
bun add @types/mv
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.1.4 |
| Published | 2023-11-07 |
| First published | 2017-08-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/mv
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mv
- npm.io page: https://npm.io/package/@types/mv

## Recent versions

- 2.1.4 (latest) — 2023-11-07
- 2.1.2 (ts3.6) — 2021-07-08
- 2.1.1 (ts3.5) — 2021-04-02
- 2.1.0 (ts2.0) — 2017-08-29
- 2.1.3 — 2023-10-18

## README

# Installation
> `npm install --save @types/mv`

# Summary
This package contains type definitions for mv (https://github.com/andrewrk/node-mv).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mv.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mv/index.d.ts)
````ts
/**
 * `fs.rename` but works across devices. same as the unix utility `mv`
 */
declare function mv(source: string, dest: string, options: mv.Options, callback: (error?: any) => void): void;
declare function mv(source: string, dest: string, callback: (error?: any) => void): void;

declare namespace mv {
    interface Options {
        /**
         * @default false
         */
        mkdirp?: boolean | undefined;
        /**
         * @default false
         */
        clobber?: boolean | undefined;
        /**
         * @default 16
         */
        limit?: number | undefined;
    }
}

export = mv;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Miloslav Nenadál](https://github.com/nenadalm).

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