自动生成漂亮且更有用的未捕获异常。-JavaScript开发

时间:2021-05-26 06:33:55
【文件属性】:
文件名称:自动生成漂亮且更有用的未捕获异常。-JavaScript开发
文件大小:296KB
文件格式:ZIP
更新时间:2021-05-26 06:33:55
JavaScript Miscellaneous 漂亮异常自动生成漂亮且更有用的未捕获异常。 安装npm install --only = production --global pretty-exceptions用法CLI(首选)这是p Pretty Exceptions漂亮且更有用的未捕获异常。 使用库const pretty = require('pretty-exceptions / lib')const选项= {源:true,本机:true,颜色:true,cwd:process.cwd()} const输出= pretty(new Error('foo' ),options)选项名称类型为必需的默认描述source Boolean:multiply:false显示堆栈中的源代码native Boolean:multiply:false显示堆栈中的源代码color Boolean:multiply:true使用ansi
【文件预览】:
node-pretty-exceptions-master
----index.js(375B)
----docs()
--------README.template(1KB)
--------README.md(6KB)
----package.json(1KB)
----.github()
--------dependabot.yml(2KB)
--------FUNDING.yml(22B)
--------workflows()
--------matrix.json(96B)
--------linters()
--------auto-merge.yml(417B)
----test()
--------with-properties.js(334B)
--------with-source.js(319B)
--------fail.js(173B)
--------minimal.js(290B)
--------with-native.js(480B)
----.taprc.yml(290B)
----screenshots()
--------source-native.png(72KB)
--------default.png(24KB)
--------native.png(60KB)
--------example.png(69KB)
--------source.png(40KB)
----colophon.yml(195B)
----.semantic.json(2KB)
----LICENSE(1KB)
----package-lock.json(118KB)
----.taprc(108B)
----docker-compose.yml(1KB)
----.gitignore(232B)
----native.js(227B)
----lib()
--------index.js(4KB)
--------cli.js(330B)
----README.md(7KB)
----.editorconfig(418B)
----source.js(227B)
----source-native.js(226B)

网友评论