mock-require

v3.0.3

Simple, intuitive mocking of Node.js modules.

MIT
Latest version published 2 years ago
    npm install mock-require
  

Explore Similar Packages

Package Health Score

56 / 100
Make sure the open source you're using is safe to use
Secure my Project

Popularity

Popular

Weekly Downloads (225,659)

Dependents
1.53K
GitHub Stars
452
Forks
29
Contributors
20

The npm package mock-require receives a total of 225,659 downloads a week. As such, we scored mock-require popularity level to be Popular.

Based on project statistics from the GitHub repository for the npm package mock-require, we found that it has been starred 452 times, and that 1,535 other projects in the ecosystem are dependent on it.

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

Security

No known security issues
Powered by Snyk

Security and license risk for significant versions

All Versions

Direct Vulnerabilities

1.1.0
1.2.1
1.3.0
2.0.2
3.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

1.1.0
1.2.1
1.3.0
2.0.2
3.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

License Risks

1.1.0
1.2.1
1.3.0
2.0.2
3.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
All security vulnerabilities belong to production dependencies of direct and indirect packages.

License
MIT

Security Policy
No

We found a way for you to contribute to the project! Looks like mock-require is missing a security policy.


You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

    # Install the Snyk CLI and test your project
npm i snyk -g && snyk test mock-require
Keep your project free of vulnerabilities with Snyk

Maintenance

Inactive
archived

Commit Frequency

Open Issues
3
Open PR
7
Last Release
2 years ago
Last Commit
1 month ago

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

An important project maintenance signal to consider for mock-require is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.

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

Community

Sustainable
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
20
Funding
No

With more than 10 contributors for the mock-require repository, this is possibly a sign for a growing and inviting community.

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


Embed Package Health Score Badge

package health: 56/100 package health 56/100

Package

Node.js Compatibility
>=4.3.0

Age
7 years
Dependencies
2 Direct
Versions
18
Install Size
47.9 kB
Dist-tags
1
# of Files
18
Maintainers
1
TS Typings
Yes

mock-require 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.