Socket
Socket
Sign inDemoInstall

jest-raw-loader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-raw-loader

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


Version published
Weekly downloads
82K
increased by9.91%
Maintainers
1
Weekly downloads
 
Install size
Created

Readme

Source

jest-raw-loader

npm Build Status Code Coverage Code Style: prettier

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

Install

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

Usage

Use jest's transform configuration options to use this package in your unit tests.

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

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

License

MIT © Kepler Sticka-Jones

FAQs

Package last updated on 01 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc