Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

physical-cores

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

physical-cores

Get your physical cpu count in a blink, supports several main platforms include linux, windows, darwin

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

physical-cores

Get your physical cpu count in a blink, supports several main platforms include linux, windows, darwin

Installation

npm i physical-cores

Usage

import physicalCores from 'physical-cores';
// or const physicalCores = require('physical-cores').default;

console.log(physicalCores);
// output: 6

Keywords

cpu

FAQs

Package last updated on 13 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts