{"name":"cpu-features","version":"0.0.5","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.4","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.5","_integrity":"sha512-QgKUyYyeIKv07l2Foyclh+NcUPqR3CHybtnHpPWbnET5ENkRgZxHa39ItLcduMU09VYombm6N+7Dr/zh10w6KQ==","_resolved":"https://github.com/mscdex/cpu-features/tarball/v0.0.5","_from":"https://github.com/mscdex/cpu-features/tarball/v0.0.5","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-QgKUyYyeIKv07l2Foyclh+NcUPqR3CHybtnHpPWbnET5ENkRgZxHa39ItLcduMU09VYombm6N+7Dr/zh10w6KQ==","shasum":"de73b6f1955825d7d4949effc5dc5abd8265ec0e","tarball":"http://registry-npm.ywwl.com/cpu-features/download/cpu-features-0.0.5.tgz","fileCount":124,"unpackedSize":441184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDSwOW4BZWCrqPrkSswCt7K94ddHZqkKw2eTeE43lf4RAiEAom2HKDwqoxLjJmVxFmqBlGP5FS3SHywChTJm4YjMqgg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMWIzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3OBAAjXiuAhtjAgmcLA/ZbeM7dIDCEF6KSfpKUlEcFX9fbW7Tv+3T\r\nB6owVbXs/hzPDIKhNPjMI62V0oQPjuOlrPCUhJtM+mQFLLZg0o/9VVZPqL4R\r\nPwCSLYcGoTMDYEv2fW6pfZVin3qdhNEnH2RFh65hKHF8WzyPdbm9rHW3ouug\r\neSKejkZXQPbp4P9VSTOZTMXE217KttfrKiORCrZGVVtjol5DF4Ma8ZDy//lp\r\nG50QqN84pdpGUTl+iEpcqZ4gKBUgV4Yp1LhdDzMMmMj8r3bN9jono+wGl+CJ\r\nY5lMPcepIEVoxAN6Uh6gtHkPbsdBez7a2MfTv6aAflwdjyhSD5Tvza6H2Kk7\r\nPwvl7yxB4IPgLq6pJIlV/XEOPyJ7REWtWOZB0CL8+4P4EmnOpmGFygrfko5+\r\n0w+YJA+YUeW40qVS7aIcU9Mlkqa9Ks2sHDslY/GaK/o+2A8gQEaHyncryYG9\r\n8S93YwhjdiwDItKxhwPxpL1/C4bsj1InYpTz5g6s0tDPZyB/05woy8OJJpJx\r\nv2gFK2IFe0LS7wieBQAvHqohqlHwFJGUp7s1iGU7IbaIrZ2VQ7gXiNyDElvH\r\nnZfhckzF1/iBhWVeFFrnWQLf9mJRW0vjprhv2hV+K6Ui1BppBa+9ZfWOjhqd\r\nmImVbKNMibTsdp4Ysf79MbrJ6Og6xKklJ+8=\r\n=TPWJ\r\n-----END PGP SIGNATURE-----\r\n","size":90879,"noattachment":false,"key":"/cpu-features/-/cpu-features-0.0.5.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.5_1680958003108_0.5070323322126735"},"_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":1680958003339,"_cnpm_publish_time":1680958003339,"dist-tags":{"latest":"0.0.10"}}