Socket
Socket
Sign inDemoInstall

@types/physical-cpu-count

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

@types/physical-cpu-count - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

physical-cpu-count/index.d.ts

@@ -1,6 +0,1 @@

// Type definitions for physical-cpu-count 2.0
// Project: https://www.npmjs.com/package/physical-cpu-count
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**

@@ -7,0 +2,0 @@ * Returns the number of physical CPU cores.

11

physical-cpu-count/package.json
{
"name": "@types/physical-cpu-count",
"version": "2.0.0",
"version": "2.0.1",
"description": "TypeScript definitions for physical-cpu-count",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/physical-cpu-count",
"license": "MIT",

@@ -9,4 +10,4 @@ "contributors": [

"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
"githubUsername": "peterblazejewicz",
"url": "https://github.com/peterblazejewicz"
}

@@ -23,4 +24,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "e816f34eaa97cabfebab98c5c282f10b6fc9d9f0d1dc642198cc1444ac699960",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "dc8b8b7c7df633be9a076cc1fedde180ea7f5d8379ea77fcdd60439890ec670d",
"typeScriptVersion": "4.5"
}

@@ -9,9 +9,21 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/physical-cpu-count.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/physical-cpu-count/index.d.ts)
````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: Mon, 27 Apr 2020 12:05:39 GMT
* Last updated: Wed, 18 Oct 2023 05:47:08 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc