{"name":"cpu-features","version":"0.0.8","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"A simple binding to Google's cpu_features library for obtaining information about installed CPU(s)","main":"./lib/index","dependencies":{"buildcheck":"~0.0.6","nan":"^2.17.0"},"devDependencies":{"@mscdex/eslint-config":"^1.1.0","eslint":"^7.0.0"},"scripts":{"install":"node buildcheck.js > buildcheck.gypi && node-gyp rebuild","test":"node test/test.js","lint":"eslint --cache --report-unused-disable-directives --ext=.js .eslintrc.js lib test","lint:fix":"npm run lint -- --fix"},"engines":{"node":">=10.0.0"},"keywords":["cpu","detect","detection","features"],"licenses":[{"type":"MIT","url":"https://github.com/mscdex/cpu-features/raw/master/LICENSE"}],"repository":{"type":"git","url":"git+https://github.com/mscdex/cpu-features.git"},"bugs":{"url":"https://github.com/mscdex/cpu-features/issues"},"homepage":"https://github.com/mscdex/cpu-features#readme","_id":"cpu-features@0.0.8","_integrity":"sha512-BbHBvtYhUhksqTjr6bhNOjGgMnhwhGTQmOoZGD+K7BCaQDCuZl/Ve1ZxUSMRwVC4D/rkCPQ2MAIeYzrWyK7eEg==","_resolved":"https://github.com/mscdex/cpu-features/tarball/v0.0.8","_from":"https://github.com/mscdex/cpu-features/tarball/v0.0.8","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-BbHBvtYhUhksqTjr6bhNOjGgMnhwhGTQmOoZGD+K7BCaQDCuZl/Ve1ZxUSMRwVC4D/rkCPQ2MAIeYzrWyK7eEg==","shasum":"a2d464b023b8ad09004c8cdca23b33f192f63546","tarball":"http://registry-npm.ywwl.com/cpu-features/download/cpu-features-0.0.8.tgz","fileCount":140,"unpackedSize":544724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfnoigUgOorFE4zE9KKwwxOaHbDl1pNkjfoDZtPudMIAiBHFzsTPmbw98dn6wnKCHe9qVzWndsxvOTfAFwh/Hah+w=="}],"size":107170,"noattachment":false,"key":"/cpu-features/-/cpu-features-0.0.8.tgz"},"_npmUser":{"name":"mscdex","email":"mscdex@mscdex.net"},"directories":{},"maintainers":[{"name":"mscdex","email":"mscdex@mscdex.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cpu-features_0.0.8_1685349343557_0.8363479009140742"},"_hasShrinkwrap":false,"readme":"\nDescription\n===========\n\nA simple [node.js](https://nodejs.org) binding to [cpu_features](https://github.com/google/cpu_features) for obtaining information about installed CPU(s).\n\n\nRequirements\n============\n\n* [node.js](http://nodejs.org/) -- v10.0.0 or newer\n* An appropriate build environment -- see [node-gyp's documentation](https://github.com/nodejs/node-gyp/blob/master/README.md)\n\n\nInstall\n=======\n\n    npm install cpu-features\n\n\nExample\n=======\n\n```js\n  // Generally it's a good idea to just call this once and\n  // reuse the result since `cpu-features` does not cache\n  // the result itself.\n  const features = require('cpu-features')();\n\n  console.log(features);\n  // example output:\n  // { arch: 'x86',\n  //   brand: 'Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz',\n  //   family: 6,\n  //   model: 58,\n  //   stepping: 9,\n  //   uarch: 'INTEL_IVB',\n  //   flags:\n  //    { fpu: true,\n  //      tsc: true,\n  //      cx8: true,\n  //      clfsh: true,\n  //      mmx: true,\n  //      aes: true,\n  //      erms: true,\n  //      f16c: true,\n  //      sse: true,\n  //      sse2: true,\n  //      sse3: true,\n  //      ssse3: true,\n  //      sse4_1: true,\n  //      sse4_2: true,\n  //      avx: true,\n  //      pclmulqdq: true,\n  //      cx16: true,\n  //      popcnt: true,\n  //      rdrnd: true,\n  //      ss: true } }\n```\n","publish_time":1685349343737,"_cnpm_publish_time":1685349343737,"dist-tags":{"latest":"0.0.10"}}