https://github.com/olsonpm/del-cjs
A cjs wrapper to del
https://github.com/olsonpm/del-cjs
Last synced: 12 months ago
JSON representation
A cjs wrapper to del
- Host: GitHub
- URL: https://github.com/olsonpm/del-cjs
- Owner: olsonpm
- License: wtfpl
- Created: 2023-10-30T18:39:32.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-10-30T18:39:46.000Z (over 2 years ago)
- Last Synced: 2025-05-18T05:16:38.345Z (about 1 year ago)
- Language: JavaScript
- Size: 22.5 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 [del](https://github.com/sindresorhus/del) module
## Why make a wrapper ?
Since version 7 of del, the module [only supports esm import](https://github.com/sindresorhus/del/issues/138#issuecomment-1074678507).
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 del as a peer dependency ?
Doing this allows you to decide the version of del in your project.