error-muster

v3.0.1

这是一个中间件,将应用程序所有的异常状态,通过自定义状态码的方式,统一使用JSON文件管理 # 为什么 当错误反馈信息散落在系统的各个地方时,是不易于管理的。我们往往要写重复的代码反馈理同样的错误,这些代码让程序看起来更混乱。如果用更统一简洁的方式在程序中反馈错误,有利于提高开发效率和定位错误。 ## 特性 - 优化程序处理流程 - 减少错误处理代码的量,更专注于正常的逻辑 - 多种错误抛出方式 1.通过定义的错误码抛出 2.直接抛出字符串 3.抛出一个异常类 - 灵活定义错误的处理方式 错误可以直接js For more information about how to use this package see README

Latest version published 12 months ago
License: MIT

Ensure you're using the healthiest npm packages

Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice

Package Health Score

53 / 100

Security

No known security issues
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
3.0.1 | 05/2023
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
2.5.4 | 05/2020
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
1.1.0 | 06/2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
No

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

Get started free

Popularity

Limited

Weekly Downloads (1)

Download trend
GitHub Stars
0
Forks
0
Contributors
1

Direct Usage Popularity


The npm package error-muster receives a total of 1 downloads a week. As such, we scored error-muster popularity level to be Limited.

Based on project statistics from the GitHub repository for the npm package error-muster, we found that it has been starred ? times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

Limited
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
1
Funding
No

This project has seen only 10 or less contributors.

We found a way for you to contribute to the project! Looks like error-muster is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 53/100 package health 53/100

Maintenance

Inactive

Commit Frequency

No Recent Commits
Open Issues
0
Open PR
0
Last Release
12 months ago
Last Commit
6 years ago

Further analysis of the maintenance status of error-muster based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.

We found that error-muster demonstrates a positive version release cadence with at least one new version released in the past 12 months.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Package

Node.js Compatibility
not defined

Age
8 years
Dependencies
0 Direct
Versions
10
Install Size
13.5 kB
Dist-tags
1
# of Files
9
Maintainers
1
TS Typings
No

error-muster has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.