https://github.com/anzerr/fs.copy
util to copy directories or files
https://github.com/anzerr/fs.copy
copy cp fs nodejs util
Last synced: 11 months ago
JSON representation
util to copy directories or files
- Host: GitHub
- URL: https://github.com/anzerr/fs.copy
- Owner: anzerr
- License: mit
- Created: 2019-09-20T16:18:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T17:02:44.000Z (almost 4 years ago)
- Last Synced: 2025-02-15T16:46:05.395Z (11 months ago)
- Topics: copy, cp, fs, nodejs, util
- Language: JavaScript
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### `Intro`



Copy a directory or file to a location
#### `Install`
``` bash
npm install --save git+https://git@github.com/anzerr/fs.copy.git
npm install --save @anzerr/fs.copy
```
### `Example`
``` javascript
const copy = require('fs.copy');
copy('./node_modules', './stuff').then(() => {
console.log('done');
}).catch((err) => {
console.log(err);
});
```