@types/physical-cpu-count
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Installation

npm install --save @types/physical-cpu-count

Summary

This package contains type definitions for physical-cpu-count (https://www.npmjs.com/package/physical-cpu-count).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/physical-cpu-count.

index.d.ts

/**
 * Returns the number of physical CPU cores.
 *
 * @see {@link https://www.npmjs.com/package/physical-cpu-count#use-case|Use Case}
 * @see {@link https://www.npmjs.com/package/physical-cpu-count#known-limitations|Known Limitations}
 */
declare const amount: number;

export = amount;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/physical-cpu-count

Weekly Downloads

2,978

Version

2.0.2

License

MIT

Unpacked Size

3.23 kB

Total Files

5

Last publish

Collaborators

  • types