weights

v0.0.4

可以添加多个对象,为其分配权重,然后根据权重随机返回,一般用于随机获得奖励

Unknown
Latest version published 2 years ago
    npm install weights
  

Explore Similar Packages

Package Health Score

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

Popularity

Limited

Weekly Downloads (17)

Dependents
0
GitHub Stars
0
Forks
0
Contributors
1

The npm package weights receives a total of 17 downloads a week. As such, we scored weights popularity level to be Limited.

Based on project statistics from the GitHub repository for the npm package weights, we found that it has been starred ? times, and that 0 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

Security review needed
Powered by Snyk

Security and license risk for significant versions

All Versions

Direct Vulnerabilities

0.0.4
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

0.0.4
  • 0
    H
  • 0
    M
  • 0
    L

License Risks

0.0.4
  • 0
    H
  • 0
    M
  • 0
    L
All security vulnerabilities belong to production dependencies of direct and indirect packages.

License
Unknown
Alert

Unable to detect license

We couldn’t find an appropriate license for this project. It is highly advised to make sure the project license is compatible with your business needs before including it as a dependency, to keep yourself protected from infringement suits or loss of your own code.


Security Policy
No

We found a way for you to contribute to the project! Looks like weights 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 && snyk test weights
Keep your project free of vulnerabilities with Snyk

Maintenance

Inactive

Commit Frequency

No Recent Commits
Open Issues
0
Merged PR
0
Open PR
0
Last Commit
2 years ago

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

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 weights is missing a Code of Conduct.

How about a good first contribution to this project? It seems that weights is missing a LICENSE file.


Embed Package Health Score Badge

package health: 36/100 package health 36/100

Package

Node.js Compatibility
not defined

Age
2 years
Dependencies
0 Direct
Versions
5
Install Size
2.42 kB
Dist-tags
1
# of Files
2
Maintainers
1
TS Typings
No

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