Noteworthy Programming Masterpiece

    physical-cores
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    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

    Install

    npm i physical-cores

    DownloadsWeekly Downloads

    1,085

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    4.68 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar