# jest-raw-loader

> Jest transformer mimicking webpack-contrib/raw-loader's functionality

Latest version **1.0.1** (published 2017-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install jest-raw-loader
pnpm add jest-raw-loader
yarn add jest-raw-loader
bun add jest-raw-loader
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-11-01 |
| First published | 2017-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Author | Kepler Sticka-Jones |
| Maintainers | keplersj |

## Links

- npm: https://www.npmjs.com/package/jest-raw-loader
- Repository: https://github.com/keplersj/jest-raw-loader
- npm.io page: https://npm.io/package/jest-raw-loader

## Recent versions

- 1.0.1 (latest) — 2017-11-01
- 1.0.0 — 2017-10-31
- 0.1.0 — 2017-10-31

## README

# jest-raw-loader

[![npm](https://img.shields.io/npm/v/jest-raw-loader.svg)](https://www.npmjs.com/package/jest-raw-loader)
[![Build Status](https://travis-ci.org/keplersj/jest-raw-loader.svg?branch=master)](https://travis-ci.org/keplersj/jest-raw-loader)
[![Code Coverage](https://codecov.io/gh/keplersj/jest-raw-loader/branch/master/graph/badge.svg)](https://codecov.io/gh/keplersj/jest-raw-loader)
[![Code Style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)


[Jest](https://facebook.github.io/jest/) transformer mimicking [webpack-contrib/raw-loader](https://github.com/webpack-contrib/raw-loader)'s functionality

## Install

```
$ npm install --save-dev jest-raw-loader
```

## Usage

Use [jest's `transform` configuration options](https://facebook.github.io/jest/docs/en/configuration.html#transform-object-string-string) to use this package in your unit tests.

For example use the following to raw load `.md` and `.graphql` files:

```json
"jest": {
  "transform": {
    "\\.graphql$": "jest-raw-loader",
    "\\.md$": "jest-raw-loader"
  }
}
```

## License

MIT © [Kepler Sticka-Jones](https://github.com/keplersj)

---
_Source: https://npm.io/package/jest-raw-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
