# copy-all

> Function for copying content of source directory to specified directory

Latest version **1.0.1** (published 2020-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install copy-all
pnpm add copy-all
yarn add copy-all
bun add copy-all
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-03-19 |
| First published | 2020-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nikolay Boldar |
| Maintainers | nboldar |
| Keywords | nodejs, javascript |

## Links

- npm: https://www.npmjs.com/package/copy-all
- Repository: https://github.com/nboldar/copy-all
- Homepage: https://github.com/nboldar/copy-all#readme
- Issues: https://github.com/nboldar/copy-all/issues
- npm.io page: https://npm.io/package/copy-all

## Dependencies (1)

- [node-read-directory](https://npm.io/package/node-read-directory.md) ^1.0.2

## Recent versions

- 1.0.1 (latest) — 2020-03-19
- 1.0.0 — 2020-03-18

## README

# copy-all #
Module for copying content of source directory to specified directory. It copies all content-files and folders, 
even if folder is empty. Structure of source directory is saved. Destination folder is creating, if it exists content of this folder 
is saved.
## Installation ##
`npm i copy-all`    

##  Usage  ##    
`const copyAll = require('copy-all');`    

`copyAll('./sourceDir','./destination').then( data => console.log('all copied')).catch( error => console.error(error));`    

## How it works ##    
Content is copying asynchronously, so function returns Promise. Relative paths resolves from directory where function is called.

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