Socket
Socket
Sign inDemoInstall

specs_window

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.0 to 1.7.0

libs/CPUCore.h

3

bio.md
CPU:
https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getlogicalprocessorinformation
List processes:

@@ -3,0 +6,0 @@ https://learn.microsoft.com/en-us/windows/win32/psapi/enumerating-all-processes

@@ -23,2 +23,3 @@ const specs = require('./build/Release/specs_window');

getFilesPath: FilesPath,
getProcessorsCore: specs.getProcessorsCore,
}

10

package.json
{
"name": "specs_window",
"version": "1.6.0",
"version": "1.7.0",
"description": "It is a NodeJS module to get hardware informacions.",

@@ -9,2 +9,3 @@ "main": "index.js",

"build": "cd build && node-gyp clean && cd .. && node-gyp configure build",
"normal_build": "node-gyp configure build",
"install": "node-gyp rebuild"

@@ -29,3 +30,8 @@ },

"specs window",
"specs windows"
"specs windows",
"Processes",
"Enumerating All Processes",
"List Processes",
"List all Processes",
"Kill Processes"
],

@@ -32,0 +38,0 @@ "author": "",

@@ -19,2 +19,3 @@ # Specs for Windows 🪟:

- Get CPU Thread number;
- Get CPU Cores number;
- Get PC Name (Host Name);

@@ -42,2 +43,10 @@ - Get CPU Architecture ⚠️;

### Get CPU Cores number:
````JS
const specs = require('specs_window')
console.log(specs.getProcessorsCore())
````
### Get PC Name (Host Name) 🖥️:

@@ -44,0 +53,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc