0.0.106 • Published 6 years ago
@arted/babel v0.0.106
babel
Transform File by Babel
Installation
npm
$ npm install -g @arted/babel
or yarn
$ yarn global add @arted/babel
Usage
shell
$ babel from.js to.js
node api
const babel = '@arted/babel';
// 执行文件
const md = babel.executeFile(__dirname + '/md.js');