es5-function-to-class-codemod:将ES5函数转换为ES6类

时间:2021-02-05 01:45:30
【文件属性】:
文件名称:es5-function-to-class-codemod:将ES5函数转换为ES6类
文件大小:6KB
文件格式:ZIP
更新时间:2021-02-05 01:45:30
javascript es6 codemod jscodeshift es5 将ES5函数转换为ES6类 :package: :laptop: 产品特点 :hundred_points: prototype方法 prototype静态方法 prototype上的变量和文字 具有defineProperty Getters,Setters 块级变量 样本输入 :kick_scooter: 和输出 :rocket: :同一文件中的多个功能,其中一个功能具有相同的名称。 设置和运行 :person_running: npm i -g jscodeshift git clone --depth=1 https://github.com/dhruvdutt/es5-function-to-class-codemod codemod && cd codemod jscodeshift -t fu
【文件预览】:
es5-function-to-class-codemod-master
----.circleci()
--------config.yml(992B)
----func-to-class.js(5KB)
----example()
--------output.js(409B)
--------input.js(568B)
----LICENSE(1KB)
----README.md(1KB)
----package.json(574B)

网友评论