babel-plugin-eval

Compile eval calls with string literals

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-eval
1.0.18 years ago8 years agoMinified + gzip package size for babel-plugin-eval in KB

Readme

babel-plugin-eval
Compile eval calls with string literals

Installation

$ npm install babel-plugin-eval

Usage

Via .babelrc (Recommended)

.babelrc
{
  "plugins": ["eval"]
}

Via CLI

$ babel --plugins eval script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["eval"]
});