mock-cpu-length

Mock os.cpus().length in CI env(`!!process.env.CI === true`). It often gets wrong CPU core length when using `os.cpus().length` in some CI environments due to containerized technology such as [CPU share](https://docs.docker.com/config/containers/resource_

v1.0.2 3 versions Maintained by luckydrq
Weekly downloads
6 -33%
vs previous week
Last 30 days
24
Versions
3
since Aug 20, 2022
Dependencies
0
Unpacked size
3 kB

Downloads

Activity

53 total · Jun 6, 2026 – Aug 31, 2026

No downloads reported since Aug 31, 2026

Versions

Downloads by version

Last 7 days

Releases

3 releases published since Aug 20, 2022

This package does not point at a Github repository, so repository activity is unavailable.