https://github.com/leetcode-opensource/parcel-plugin-stringify-anything
Parcel plugin for importing any file types as string
https://github.com/leetcode-opensource/parcel-plugin-stringify-anything
Last synced: 7 months ago
JSON representation
Parcel plugin for importing any file types as string
- Host: GitHub
- URL: https://github.com/leetcode-opensource/parcel-plugin-stringify-anything
- Owner: LeetCode-OpenSource
- License: mit
- Created: 2018-12-17T03:49:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T09:51:44.000Z (over 2 years ago)
- Last Synced: 2025-04-30T03:37:26.886Z (8 months ago)
- Language: JavaScript
- Size: 2.55 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parcel-plugin-stringify-anything
[](https://github.com/LeetCode-OpenSource/parcel-plugin-stringify-anything/blob/master/LICENSE)  [](https://github.com/prettier/prettier) [](https://www.npmjs.com/package/parcel-plugin-stringify-anything)
Parcel plugin for importing any file types as string.
## Installation
Using [yarn](https://yarnpkg.com/):
```bash
yarn add parcel-plugin-stringify-anything parcel-bundler --dev
```
Or via [npm](https://docs.npmjs.com):
```bash
npm install parcel-plugin-stringify-anything parcel-bundler --save-dev
```
Then, specify the file types to import as string. (e.g., the Markdown file):
###### package.json
```diff
{
...
+ "assetTypesToStringify": ["md"],
"devDependencies": {
"parcel-bundler": "^1.10.3",
"parcel-plugin-stringify-anything": "^1.0.0"
}
...
}
```