clean-stack:清理错误堆栈跟踪

时间:2021-04-29 07:35:31
【文件属性】:
文件名称:clean-stack:清理错误堆栈跟踪
文件大小:7KB
文件格式:ZIP
更新时间:2021-04-29 07:35:31
JavaScript 干净的堆栈 清理错误堆栈跟踪 删除大部分无用的内部Node.js条目。 也可在Electron中使用。 安装 $ npm install clean-stack 用法 import cleanStack from 'clean-stack' ; const error = new Error ( 'Missing unicorn' ) ; console . log ( error . stack ) ; /* Error: Missing unicorn at Object. (/Users/sindresorhus/dev/clean-stack/unicorn.js:2:15) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.j
【文件预览】:
clean-stack-main
----.gitignore(23B)
----package.json(763B)
----.npmrc(19B)
----index.js(1KB)
----test.js(9KB)
----.github()
--------workflows()
----license(1KB)
----readme.md(2KB)
----index.test-d.ts(309B)
----.gitattributes(19B)
----.editorconfig(175B)
----index.d.ts(1KB)

网友评论