ng-mocks

v12.5.0

An Angular testing library for creating mock services, components, directives, pipes and modules in unit tests, which includes shallow rendering, precise stubs to dump child dependencies, supports Angular 5 6 7 8 9 10 11 12 13, jasmine and jest.

MIT
Latest version published 5 days ago
    npm install ng-mocks
  

Package Health Score

89 / 100

Popularity

Popular

Weekly Downloads (143,264)

Download trend
Dependents
25
GitHub Stars
481
Forks
36
Contributors
20

Direct Usage Popularity

TOP 5%

The npm package ng-mocks receives a total of 143,264 downloads a week. As such, we scored ng-mocks popularity level to be Popular.

Based on project statistics from the GitHub repository for the npm package ng-mocks, we found that it has been starred 481 times, and that 25 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
Popular

Version

Release Date

10/2020
11/2020
05/2021
07/2021
09/2021

Direct Vulnerabilities

10.4.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
10.5.4
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
11.11.2
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
Popular
12.4.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
12.5.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

10.4.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
10.5.4
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
11.11.2
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
Popular
12.4.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
12.5.0
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

License Risk

10.4.0
  • 0
    H
  • 0
    M
  • 0
    L
10.5.4
  • 0
    H
  • 0
    M
  • 0
    L
11.11.2
  • 0
    H
  • 0
    M
  • 0
    L
Popular
12.4.0
  • 0
    H
  • 0
    M
  • 0
    L
12.5.0
  • 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 ng-mocks 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 ng-mocks
Keep your project free of vulnerabilities with Snyk

Maintenance

Healthy

Commit Frequency

Open Issues
16
Open PR
22
Last Release
5 days ago
Last Commit
2 days ago

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

We found that ng-mocks demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Community

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

With more than 10 contributors for the ng-mocks 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 ng-mocks is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 89/100 package health 89/100

Package

Node.js Compatibility
not defined

Age
4 years
Dependencies
0 Direct
Versions
116
Install Size
1.57 MB
Dist-tags
1
# of Files
522
Maintainers
2
TS Typings
Yes

ng-mocks 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.