{"name":"cpu-features","version":"0.0.9","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.9","_integrity":"sha512-AKjgn2rP2yJyfbepsmLfiYcmtNn/2eUvocUyM/09yB0YDiz39HteK/5/T4Onf0pmdYDMgkBoGvRLvEguzyL7wQ==","_resolved":"https://github.com/mscdex/cpu-features/tarball/v0.0.9","_from":"https://github.com/mscdex/cpu-features/tarball/v0.0.9","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-AKjgn2rP2yJyfbepsmLfiYcmtNn/2eUvocUyM/09yB0YDiz39HteK/5/T4Onf0pmdYDMgkBoGvRLvEguzyL7wQ==","shasum":"5226b92f0f1c63122b0a3eb84cb8335a4de499fc","tarball":"http://registry-npm.ywwl.com/cpu-features/download/cpu-features-0.0.9.tgz","fileCount":144,"unpackedSize":575815,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCL25tEVhPVvfBp+NmQZ6asI/TsfUftvz7noJWa6DQKwIhAKffKK++hNOVE2vZgO6WnBJ/HJFJTQwAThL5EITgIVbp"}],"size":112451,"noattachment":false,"key":"/cpu-features/-/cpu-features-0.0.9.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.9_1692242046602_0.9635500129785668"},"_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":1692242046975,"_cnpm_publish_time":1692242046975,"dist-tags":{"latest":"0.0.10"}}