GitHub repository: lujjjh/node-cpu-count
Primary language: TypeScript
Description: A container-friendly alternative to os.cpus().length. Both cgroups v1 and cgroups v2 are supported.