https://github.com/olsonpm/cpy-cjs
https://github.com/olsonpm/cpy-cjs
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/olsonpm/cpy-cjs
- Owner: olsonpm
- License: wtfpl
- Created: 2023-12-20T16:56:34.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-12-20T17:02:00.000Z (over 2 years ago)
- Last Synced: 2025-05-18T05:16:48.031Z (about 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
## What is this
A simple cjs wrapper to the [cpy](https://github.com/sindresorhus/cpy) module
## Why make a wrapper ?
Since version 11 of cpy, the module [only supports esm import](https://github.com/sindresorhus/cpy/commit/f2b332123cfe7d9cd924577894fa4dd277ef6b4a).
In order to continue using this module conveniently I decided to wrap it in [fix-esm](https://www.npmjs.com/package/fix-esm).
## Why declare cpy as a peer dependency ?
Doing this allows you to decide the version of cpy in your project.