Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
cpu-features
Advanced tools
A simple binding to Google's cpu_features library for obtaining information about installed CPU(s)
A simple node.js binding to cpu_features for obtaining information about installed CPU(s).
npm install cpu-features
// Generally it's a good idea to just call this once and
// reuse the result since `cpu-features` does not cache
// the result itself.
const features = require('cpu-features')();
console.log(features);
// example output:
// { arch: 'x86',
// brand: 'Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz',
// family: 6,
// model: 58,
// stepping: 9,
// uarch: 'INTEL_IVB',
// flags:
// { fpu: true,
// tsc: true,
// cx8: true,
// clfsh: true,
// mmx: true,
// aes: true,
// erms: true,
// f16c: true,
// sse: true,
// sse2: true,
// sse3: true,
// ssse3: true,
// sse4_1: true,
// sse4_2: true,
// avx: true,
// pclmulqdq: true,
// cx16: true,
// popcnt: true,
// rdrnd: true,
// ss: true } }
FAQs
A simple binding to Google's cpu_features library for obtaining information about installed CPU(s)
The npm package cpu-features receives a total of 2,386,277 weekly downloads. As such, cpu-features popularity was classified as popular.
We found that cpu-features demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.