escut:用于重构 javascript 代码的 Cli 工具

时间:2021-07-13 16:22:54
【文件属性】:
文件名称:escut:用于重构 javascript 代码的 Cli 工具
文件大小:16KB
文件格式:ZIP
更新时间:2021-07-13 16:22:54
JavaScript 安装为命令行工具 npm install -g escut Usage: escut selector command file.js # A CSS-like selector, see https://github.com/keeyip/esquery @selector @command json @command print @command quote-member @command quote-property @command remove # Rewrites code using a handlebars replacement string @command rewrite replacement # A handlebars replacement string
【文件预览】:
escut-master
----bin()
--------escut(4KB)
----package.json(663B)
----commands()
--------json.js(419B)
--------rewrite()
--------remove.js(3KB)
--------quote-member.js(2KB)
--------yank.js(487B)
--------quote-property.js(1KB)
--------print.js(273B)
----ast()
--------printAdjustedAst.js(1KB)
--------sortByRange0.js(152B)
--------COMMA_SEPARATED_KEYS.js(88B)
--------getCommaSeparableChildren.js(336B)
--------canBeCommaSeparable.js(233B)
--------getNextCommaSeparableSibling.js(238B)
----Readme.md(3KB)
----predicates()
--------badWords.js(3KB)
--------isGlobal.js(339B)
----samples()
--------globals.js(44B)
--------reserved-word-as-unquoted-property-key.js(411B)
--------function-bind.js(611B)
--------test1.js(278B)
----.gitignore(13B)
----Makefile(3KB)
----str()
--------prefixLines.js(169B)

网友评论