babel-plugin-eval

1.0.1 • Public • Published

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"]
});

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-eval

Weekly Downloads

78,905

Version

1.0.1

License

MIT

Last publish

Collaborators

  • sebmck