# copie

> Copy a file

Latest version **2.0.0** (published 2020-08-14) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-08-14 |
| First published | 2018-06-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.13.0 |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 82 |
| Author | Kir Belevich |
| Maintainers | deepsweet, fosimus, psxcode |
| Keywords | copy, cp, clone |

## Links

- npm: https://www.npmjs.com/package/copie
- Repository: https://github.com/nextools/metarepo
- Homepage: https://github.com/nextools/metarepo#readme
- Issues: https://github.com/nextools/metarepo/issues
- npm.io page: https://npm.io/package/copie

## Dependencies (1)

- [pifs](https://npm.io/package/pifs.md) ^2.0.0

## Recent versions

- 2.0.0 (latest) — 2020-08-14
- 1.0.0 — 2020-01-23
- 0.3.0 — 2019-03-31
- 0.2.0 — 2018-09-19
- 0.1.0 — 2018-06-25

## README

# copie ![npm](https://flat.badgen.net/npm/v/copie)

Copy a file.

* no CLI
* no globs
* no `mkdir -p`
* no side effects such as `stdout`
* Promise only API
* preserve `uid`, `gid`, `mode`, `atime` and `mtime` stats

## Install

```sh
$ yarn add copie
```

## Usage

```js
import copie from 'copie'

copie('/from/file/path', '/to/file/path')
  .then(() => console.log('done'))
  .catch(console.error)
```

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