X Tutup
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

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