1.0.1 • Published 10 years ago
babel-plugin-eval v1.0.1
babel-plugin-eval
Compile eval calls with string literals
Installation
$ npm install babel-plugin-evalUsage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["eval"]
}Via CLI
$ babel --plugins eval script.jsVia Node API
require("babel-core").transform("code", {
plugins: ["eval"]
});1.0.1
10 years ago