# cpuid-git

> Simple to use wrapper around LibCPUID. Gives extremely detailed information about the CPU(s) your code is running on.

Latest version **0.3.1** (published 2019-07-01) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install cpuid-git
pnpm add cpuid-git
yarn add cpuid-git
bun add cpuid-git
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2019-07-01 |
| First published | 2018-08-22 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 1 |
| Unpacked size | 791 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Matt Holmes |
| Maintainers | terorie |
| Keywords | cpu, system, os |

## Links

- npm: https://www.npmjs.com/package/cpuid-git
- Repository: https://github.com/terorie/cpuid-node
- Issues: https://github.com/terorie/cpuid-node/issues
- npm.io page: https://npm.io/package/cpuid-git

## Dependencies (1)

- [nan](https://npm.io/package/nan.md) ^2.14.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [@temporal-architect/claude-plugin](https://npm.io/package/@temporal-architect/claude-plugin.md) — 335 weekly downloads

## Recent versions

- 0.3.1 (latest) — 2019-07-01
- 0.3.0 — 2018-08-22

## README

cpuid-git
==========

(THIS IS A FORK OF https://github.com/pdxmholmes/cpuid-node)

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-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-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
==========

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

cpuid is one function, which takes no arguments, and returns an object with properties representing the CPUID data.

---
_Source: https://npm.io/package/cpuid-git · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
