copie
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

copie npm

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

$ yarn add copie

Usage

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

Readme

Keywords

Package Sidebar

Install

npm i copie

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

3 kB

Total Files

5

Last publish

Collaborators

  • deepsweet
  • fosimus
  • psxcode