Socket
Socket
Sign inDemoInstall

cpuid-git

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpuid-git - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

.travis.yml

7

package.json

@@ -5,3 +5,3 @@ {

"description": "Simple to use wrapper around LibCPUID. Gives extremely detailed information about the CPU(s) your code is running on.",
"version": "0.3.0",
"version": "0.3.1",
"repository": {

@@ -12,3 +12,4 @@ "type": "git",

"scripts": {
"install": "(node-gyp rebuild 2> builderror.log) || (exit 0)"
"install": "(node-gyp rebuild 2> builderror.log) || (exit 0)",
"test": "node test.js"
},

@@ -30,3 +31,3 @@ "engines": {

"dependencies": {
"nan": "^2.10.0"
"nan": "^2.14.0"
},

@@ -33,0 +34,0 @@ "contributors": [

@@ -1,12 +0,18 @@

cpuid
cpuid-git
==========
cpuid is a simple to user wrapper around [LibCPUID](http://libcpuid.sourceforge.net/) for [Node.js](http://www.nodejs.org). It's so simple in fact, it's exactly one function, which returns a very easy to use object graph.
(THIS IS A FORK OF https://github.com/pdxmholmes/cpuid-node)
cpuid has been tested on Windows 64-bit, Macintosh OSX (Darwin) 64-bit and Linux 3.x 64-bit. All 32-bit platforms should work, but I have not tested them. If you do and it does not work, please file a bug report.
cpuid-git is a simple to user wrapper around [LibCPUID](http://libcpuid.sourceforge.net/) for [Node.js](http://www.nodejs.org). It's so simple in fact, it's exactly one function, which returns a very easy to use object graph.
cpuid requires a natively compiled binary component, so it is not suitable for usage in the browser environment.
cpuid-git has been tested on Windows 64-bit, Macintosh OSX (Darwin) 64-bit and Linux 3.x 64-bit. All 32-bit platforms should work, but I have not tested them. If you do and it does not work, please file a bug report.
cpuid's most useful feature for many Node users will be it's detailed overview of the logical versus physical cores. As things like [cluster](http://www.nodejs.org/api/cluster.html) come to the forefront, and "multi-threaded Node" becomes a reality, this information can be invaluable for worker pool performance.
cpuid-git requires a natively compiled binary component, so it is not suitable for usage in the browser environment.
cpuid-git's most useful feature for many Node users will be it's detailed overview of the logical versus physical cores. As things like [cluster](http://www.nodejs.org/api/cluster.html) come to the forefront, and "multi-threaded Node" becomes a reality, this information can be invaluable for worker pool performance.
Updated version by terorie supporting the newest processor instructions.
Now based on a git submodule of the original libcpuid.
usage

@@ -16,3 +22,3 @@ ==========

```JavaScript
const cpuid = require('cpuid');
const cpuid = require('cpuid-git');
const cpuidInfo = cpuid();

@@ -19,0 +25,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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc