是否有一些用 es6 风格编写的 npm 包?
Is there some npm packages writing by es6 style?
我想尝试写一些 es6 风格的 npm lib,但是找不到一些在线 npm 包来寻求帮助。是不是该写es6风格包了?
安装
$ npm install --global babel
用法
$ babel script.js
你也可以试试online。
我想尝试写一些 es6 风格的 npm lib,但是找不到一些在线 npm 包来寻求帮助。是不是该写es6风格包了?
安装
$ npm install --global babel
用法
$ babel script.js
你也可以试试online。