https://github.com/maxbeier/parcel-plugin-raw-xml
Parcel plugin for loading the raw content of an xml file as a string
https://github.com/maxbeier/parcel-plugin-raw-xml
Last synced: over 1 year ago
JSON representation
Parcel plugin for loading the raw content of an xml file as a string
- Host: GitHub
- URL: https://github.com/maxbeier/parcel-plugin-raw-xml
- Owner: maxbeier
- License: mit
- Created: 2018-07-03T10:53:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-08T20:08:11.000Z (almost 8 years ago)
- Last Synced: 2025-02-25T00:54:49.321Z (over 1 year ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parcel-plugin-raw-xml
> Parcel plugin for loading the raw content of an xml file as a string
## Installation
```sh
npm install --save-dev parcel-plugin-raw-xml
```
## Example
- `example.xml`
```xml
lorem ipsum
```
- `index.js`
```js
import xml from './example.xml';
console.log(xml);
```