https://github.com/olsonpm/minify-xml-cjs
https://github.com/olsonpm/minify-xml-cjs
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/olsonpm/minify-xml-cjs
- Owner: olsonpm
- License: wtfpl
- Created: 2023-11-13T19:02:18.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-11-13T21:51:29.000Z (over 2 years ago)
- Last Synced: 2025-01-20T23:45:28.312Z (over 1 year ago)
- Language: JavaScript
- Size: 15.6 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 [minify-xml](https://github.com/kristian/minify-xml) module
## Why make a wrapper ?
Since version 4 of minify-xml, the module [only supports esm import](https://github.com/kristian/minify-xml/commit/f410a25749a568d9856da38e0474b48bedb0388b).
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 minify-xml as a peer dependency ?
Doing this allows you to decide the version of minify-xml in your project.