New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

literate-es-loader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

literate-es-loader

Literate ES webpack loader

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Literate ES Webpack Loader Build Status

Write Markdown files with ES6 blocks in them, and then execute the ES6 code.

Installation

me$ npm install -D literate-es-webpack-loader

And configure webpack:

# webpack.config.js (or equivalent)

  module: {
    loaders:       [
       {
         test:   /.*\.js\.md$/,
         loader: 'bable!literate-es'
      }
    ]
    ...

The Problem

I was writing a README.md for Test Pantry, and I wanted to ensure all the examples were executable and correct. So I found Erudite, which would let me compile and execute the code. I thought it would be nice to have it integrated with Webpack-- so one could write any code within Markdown.

References

Todo

  • Better support for tests written in literate Javascript

FAQs

Package last updated on 21 Nov 2016

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc