estrace:EcmaScript 模块中的跟踪函数-源码

上传者: 42116705 | 上传时间: 2021-08-04 22:04:33 | 文件大小: 25KB | 文件类型: ZIP
ESTrace Node.js 跟踪函数。 对于 CommonJS 使用 。 安装 npm i estrace 跑步 用于把事情做好,与运行--loader标志: node --loader estrace lint.js 例子 假设您想跟踪lint.js : const checkFile = ( a ) => a ; lint ( ) ; function lint ( runners ) { const files = getFiles ( runners ) ; const checkedFiles = checkFiles ( files ) ; return checkedFiles ; } function getFiles ( runners ) { const files = [ ] ; for ( c

文件下载

资源详情

[{"title":"( 60 个子文件 25KB ) estrace:EcmaScript 模块中的跟踪函数-源码","children":[{"title":"estrace-master","children":[{"title":".gitignore <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false},{"title":".madrun.mjs <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"nodejs.yml <span style='color:#111;'> 771B </span>","children":null,"spread":false}],"spread":true},{"title":"main.workflow <span style='color:#111;'> 193B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"ChangeLog <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":".putout.json <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"example","children":[{"title":"lint.js <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"putout.js <span style='color:#111;'> 369B </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"trace","children":[{"title":"fixture","children":[{"title":"trace.js <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"trace-fix.js <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"multiline.js <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"multiline-fix.js <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":true},{"title":"plugin-trace","children":[{"title":"fixture","children":[{"title":"export-fix.js <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"kinds.js <span style='color:#111;'> 221B </span>","children":null,"spread":false},{"title":"multiple-returns.js <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"exclude-fix.js <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"exclude.js <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"inner-fix.js <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"inner.js <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":"empty-return.js <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"name-literal.js <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"name-literal-fix.js <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"skip.js <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"no-comments-fix.js <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"multiple-returns-fix.js <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"empty-return-fix.js <span style='color:#111;'> 221B </span>","children":null,"spread":false},{"title":"no-return.js <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"no-url-fix.js <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"no-url.js <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"no-comments.js <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"arrow-fix.js <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"export.js <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"arrow.js <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"kinds-fix.js <span style='color:#111;'> 899B </span>","children":null,"spread":false},{"title":"no-return-fix.js <span style='color:#111;'> 155B </span>","children":null,"spread":false}],"spread":false},{"title":"line.js <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"line.spec.js <span style='color:#111;'> 829B </span>","children":null,"spread":false},{"title":"index.spec.js <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"plugin.spec.js <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"plugin.js <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"index.spec.js <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"plugin-fix-multiline-template-literal-indentation","children":[{"title":"fixture","children":[{"title":"template-fix.js <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"template.js <span style='color:#111;'> 90B </span>","children":null,"spread":false}],"spread":false},{"title":"index.spec.js <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 740B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"fixture","children":[{"title":"no-options-fix.js <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"trace.js <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"trace-fix.js <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"no-options.js <span style='color:#111;'> 29B </span>","children":null,"spread":false}],"spread":true},{"title":"estrace.spec.js <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"log.js <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"log.spec.js <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"estrace.js <span style='color:#111;'> 439B </span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.json <span style='color:#111;'> 403B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明