safe-require

v1.0.4

Safe version of require that returns undefined rather than throwing an error when the module is not found. For more information about how to use this package see README

Latest version published 4 years ago
License: Fair

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

47 / 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
1.0.4 | 07/2020
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
License
Fair
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

Recognized

Weekly Downloads (20,865)

Download trend
GitHub Stars
14
Forks
2
Contributors
1

Direct Usage Popularity

TOP 30%

The npm package safe-require receives a total of 20,865 downloads a week. As such, we scored safe-require popularity level to be Recognized.

Based on project statistics from the GitHub repository for the npm package safe-require, we found that it has been starred 14 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 safe-require is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 47/100 package health 47/100

Maintenance

Inactive
deprecated

Commit Frequency

No Recent Commits
Open Issues
0
Open PR
0
Last Release
4 years ago
Last Commit
8 years ago

Further analysis of the maintenance status of safe-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 safe-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.

Package

Node.js Compatibility
not defined

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

safe-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.