systeminformation 5.33.2 → 6.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (494) hide show
  1. package/README.md +882 -931
  2. package/dist/audio.d.ts +1 -0
  3. package/dist/audio.js +18 -0
  4. package/dist/baseboard.d.ts +1 -0
  5. package/dist/baseboard.js +17 -0
  6. package/dist/battery.d.ts +1 -0
  7. package/dist/battery.js +19 -0
  8. package/dist/bios.d.ts +1 -0
  9. package/dist/bios.js +17 -0
  10. package/dist/block-devices.d.ts +1 -0
  11. package/dist/block-devices.js +17 -0
  12. package/dist/bluetooth.d.ts +1 -0
  13. package/dist/bluetooth.js +17 -0
  14. package/dist/bsd/battery.d.ts +2 -0
  15. package/dist/bsd/battery.js +27 -0
  16. package/dist/bsd/cpu-cache.d.ts +1 -0
  17. package/dist/bsd/cpu-cache.js +37 -0
  18. package/dist/bsd/cpu-flags.d.ts +1 -0
  19. package/dist/bsd/cpu-flags.js +28 -0
  20. package/dist/bsd/cpu-temperature.d.ts +1 -0
  21. package/dist/bsd/cpu-temperature.js +29 -0
  22. package/dist/bsd/cpu.d.ts +1 -0
  23. package/dist/bsd/cpu.js +98 -0
  24. package/dist/bsd/index.d.ts +38 -0
  25. package/dist/bsd/index.js +85 -0
  26. package/dist/bsd/mem.d.ts +1 -0
  27. package/dist/bsd/mem.js +37 -0
  28. package/dist/bsd/network-stats.d.ts +2 -0
  29. package/dist/bsd/network-stats.js +92 -0
  30. package/dist/bsd/os-info.d.ts +21 -0
  31. package/dist/bsd/os-info.js +38 -0
  32. package/dist/bsd/uuid.d.ts +2 -0
  33. package/dist/bsd/uuid.js +30 -0
  34. package/dist/camera.d.ts +1 -0
  35. package/dist/camera.js +17 -0
  36. package/dist/chassis.d.ts +1 -0
  37. package/dist/chassis.js +17 -0
  38. package/dist/cli.d.ts +2 -0
  39. package/dist/cli.js +107 -0
  40. package/dist/common/codepage.d.ts +1 -0
  41. package/dist/common/codepage.js +43 -0
  42. package/dist/common/const.d.ts +25 -0
  43. package/dist/common/const.js +26 -0
  44. package/dist/common/cpu.d.ts +2 -0
  45. package/dist/common/cpu.js +12 -0
  46. package/dist/common/darwin.d.ts +6 -0
  47. package/dist/common/darwin.js +266 -0
  48. package/dist/common/datetime.d.ts +9 -0
  49. package/dist/common/datetime.js +161 -0
  50. package/dist/common/defaults.d.ts +25 -0
  51. package/dist/common/defaults.js +299 -0
  52. package/dist/common/exec.d.ts +10 -0
  53. package/dist/common/exec.js +69 -0
  54. package/dist/common/files.d.ts +2 -0
  55. package/dist/common/files.js +39 -0
  56. package/dist/common/filesys.d.ts +11 -0
  57. package/dist/common/filesys.js +282 -0
  58. package/dist/common/host.d.ts +2 -0
  59. package/dist/common/host.js +67 -0
  60. package/dist/common/index.d.ts +12 -0
  61. package/dist/common/index.js +146 -0
  62. package/dist/common/internet.d.ts +1 -0
  63. package/dist/common/internet.js +47 -0
  64. package/dist/common/mappings.d.ts +55 -0
  65. package/dist/common/mappings.js +4133 -0
  66. package/dist/common/network.d.ts +8 -0
  67. package/dist/common/network.js +162 -0
  68. package/dist/common/nvidia.d.ts +22 -0
  69. package/dist/common/nvidia.js +159 -0
  70. package/dist/common/parse.d.ts +13 -0
  71. package/dist/common/parse.js +157 -0
  72. package/dist/common/raspberry.d.ts +5 -0
  73. package/dist/common/raspberry.js +277 -0
  74. package/dist/common/security.d.ts +31 -0
  75. package/dist/common/security.js +241 -0
  76. package/dist/common/types.d.ts +992 -0
  77. package/dist/common/types.js +2 -0
  78. package/dist/common/windows.d.ts +58 -0
  79. package/dist/common/windows.js +292 -0
  80. package/dist/cpu-cache.d.ts +1 -0
  81. package/dist/cpu-cache.js +19 -0
  82. package/dist/cpu-current-load.d.ts +2 -0
  83. package/dist/cpu-current-load.js +249 -0
  84. package/dist/cpu-current-speed.d.ts +3 -0
  85. package/dist/cpu-current-speed.js +84 -0
  86. package/dist/cpu-flags.d.ts +1 -0
  87. package/dist/cpu-flags.js +19 -0
  88. package/dist/cpu-full-load.d.ts +1 -0
  89. package/dist/cpu-full-load.js +30 -0
  90. package/dist/cpu-temperature.d.ts +1 -0
  91. package/dist/cpu-temperature.js +19 -0
  92. package/dist/cpu.d.ts +1 -0
  93. package/dist/cpu.js +19 -0
  94. package/dist/darwin/audio.d.ts +2 -0
  95. package/dist/darwin/audio.js +46 -0
  96. package/dist/darwin/baseboard.d.ts +1 -0
  97. package/dist/darwin/baseboard.js +48 -0
  98. package/dist/darwin/battery.d.ts +2 -0
  99. package/dist/darwin/battery.js +65 -0
  100. package/dist/darwin/bios.d.ts +1 -0
  101. package/dist/darwin/bios.js +45 -0
  102. package/dist/darwin/block-devices.d.ts +2 -0
  103. package/dist/darwin/block-devices.js +101 -0
  104. package/dist/darwin/bluetooth.d.ts +3 -0
  105. package/dist/darwin/bluetooth.js +84 -0
  106. package/dist/darwin/camera.d.ts +2 -0
  107. package/dist/darwin/camera.js +55 -0
  108. package/dist/darwin/chassis.d.ts +2 -0
  109. package/dist/darwin/chassis.js +32 -0
  110. package/dist/darwin/cpu-cache.d.ts +2 -0
  111. package/dist/darwin/cpu-cache.js +29 -0
  112. package/dist/darwin/cpu-flags.d.ts +1 -0
  113. package/dist/darwin/cpu-flags.js +16 -0
  114. package/dist/darwin/cpu-temperature.d.ts +1 -0
  115. package/dist/darwin/cpu-temperature.js +44 -0
  116. package/dist/darwin/cpu.d.ts +1 -0
  117. package/dist/darwin/cpu.js +69 -0
  118. package/dist/darwin/disk-layout.d.ts +2 -0
  119. package/dist/darwin/disk-layout.js +231 -0
  120. package/dist/darwin/disks-io.d.ts +2 -0
  121. package/dist/darwin/disks-io.js +56 -0
  122. package/dist/darwin/displays.d.ts +2 -0
  123. package/dist/darwin/displays.js +98 -0
  124. package/dist/darwin/fs-open-files.d.ts +2 -0
  125. package/dist/darwin/fs-open-files.js +27 -0
  126. package/dist/darwin/fs-stats.d.ts +2 -0
  127. package/dist/darwin/fs-stats.js +47 -0
  128. package/dist/darwin/gpu.d.ts +2 -0
  129. package/dist/darwin/gpu.js +55 -0
  130. package/dist/darwin/index.d.ts +56 -0
  131. package/dist/darwin/index.js +122 -0
  132. package/dist/darwin/keyboard.d.ts +2 -0
  133. package/dist/darwin/keyboard.js +73 -0
  134. package/dist/darwin/mem-layout.d.ts +2 -0
  135. package/dist/darwin/mem-layout.js +60 -0
  136. package/dist/darwin/mem.d.ts +2 -0
  137. package/dist/darwin/mem.js +50 -0
  138. package/dist/darwin/mouse.d.ts +2 -0
  139. package/dist/darwin/mouse.js +78 -0
  140. package/dist/darwin/network-connections.d.ts +2 -0
  141. package/dist/darwin/network-connections.js +98 -0
  142. package/dist/darwin/network-gateway-default.d.ts +1 -0
  143. package/dist/darwin/network-gateway-default.js +26 -0
  144. package/dist/darwin/network-interface-default.d.ts +2 -0
  145. package/dist/darwin/network-interface-default.js +41 -0
  146. package/dist/darwin/network-interfaces.d.ts +2 -0
  147. package/dist/darwin/network-interfaces.js +205 -0
  148. package/dist/darwin/network-stats.d.ts +2 -0
  149. package/dist/darwin/network-stats.js +86 -0
  150. package/dist/darwin/npm.d.ts +1 -0
  151. package/dist/darwin/npm.js +5 -0
  152. package/dist/darwin/npu.d.ts +2 -0
  153. package/dist/darwin/npu.js +41 -0
  154. package/dist/darwin/os-info.d.ts +1 -0
  155. package/dist/darwin/os-info.js +110 -0
  156. package/dist/darwin/pci.d.ts +2 -0
  157. package/dist/darwin/pci.js +37 -0
  158. package/dist/darwin/printer.d.ts +2 -0
  159. package/dist/darwin/printer.js +45 -0
  160. package/dist/darwin/software.d.ts +2 -0
  161. package/dist/darwin/software.js +39 -0
  162. package/dist/darwin/system.d.ts +1 -0
  163. package/dist/darwin/system.js +29 -0
  164. package/dist/darwin/thunderbolt.d.ts +1 -0
  165. package/dist/darwin/thunderbolt.js +53 -0
  166. package/dist/darwin/usb.d.ts +3 -0
  167. package/dist/darwin/usb.js +69 -0
  168. package/dist/darwin/users.d.ts +2 -0
  169. package/dist/darwin/users.js +13 -0
  170. package/dist/darwin/uuid.d.ts +2 -0
  171. package/dist/darwin/uuid.js +39 -0
  172. package/dist/darwin/wifi-connections.d.ts +2 -0
  173. package/dist/darwin/wifi-connections.js +60 -0
  174. package/dist/darwin/wifi-interfaces.d.ts +2 -0
  175. package/dist/darwin/wifi-interfaces.js +27 -0
  176. package/dist/darwin/wifi-networks.d.ts +2 -0
  177. package/dist/darwin/wifi-networks.js +61 -0
  178. package/dist/disk-layout.d.ts +1 -0
  179. package/dist/disk-layout.js +17 -0
  180. package/dist/disks-io.d.ts +1 -0
  181. package/dist/disks-io.js +17 -0
  182. package/dist/displays.d.ts +1 -0
  183. package/dist/displays.js +17 -0
  184. package/dist/docker-socket.d.ts +11 -0
  185. package/dist/docker-socket.js +113 -0
  186. package/dist/docker.d.ts +102 -0
  187. package/dist/docker.js +532 -0
  188. package/dist/fs-open-files.d.ts +1 -0
  189. package/dist/fs-open-files.js +17 -0
  190. package/dist/fs-size.d.ts +1 -0
  191. package/dist/fs-size.js +23 -0
  192. package/dist/fs-stats.d.ts +1 -0
  193. package/dist/fs-stats.js +17 -0
  194. package/dist/get-data.d.ts +110 -0
  195. package/dist/get-data.js +151 -0
  196. package/dist/get.d.ts +5 -0
  197. package/dist/get.js +117 -0
  198. package/dist/gpu.d.ts +1 -0
  199. package/dist/gpu.js +17 -0
  200. package/dist/index.d.ts +59 -0
  201. package/dist/index.js +130 -0
  202. package/dist/inet-checksite.d.ts +1 -0
  203. package/dist/inet-checksite.js +11 -0
  204. package/dist/inet-latency.d.ts +1 -0
  205. package/dist/inet-latency.js +17 -0
  206. package/dist/keyboard.d.ts +1 -0
  207. package/dist/keyboard.js +17 -0
  208. package/dist/linux/audio.d.ts +2 -0
  209. package/dist/linux/audio.js +67 -0
  210. package/dist/linux/baseboard.d.ts +1 -0
  211. package/dist/linux/baseboard.js +81 -0
  212. package/dist/linux/battery.d.ts +2 -0
  213. package/dist/linux/battery.js +88 -0
  214. package/dist/linux/bios.d.ts +2 -0
  215. package/dist/linux/bios.js +55 -0
  216. package/dist/linux/block-devices.d.ts +2 -0
  217. package/dist/linux/block-devices.js +30 -0
  218. package/dist/linux/bluetooth.d.ts +2 -0
  219. package/dist/linux/bluetooth.js +86 -0
  220. package/dist/linux/camera.d.ts +2 -0
  221. package/dist/linux/camera.js +63 -0
  222. package/dist/linux/chassis.d.ts +1 -0
  223. package/dist/linux/chassis.js +41 -0
  224. package/dist/linux/cpu-cache.d.ts +1 -0
  225. package/dist/linux/cpu-cache.js +35 -0
  226. package/dist/linux/cpu-flags.d.ts +1 -0
  227. package/dist/linux/cpu-flags.js +33 -0
  228. package/dist/linux/cpu-temperature.d.ts +1 -0
  229. package/dist/linux/cpu-temperature.js +179 -0
  230. package/dist/linux/cpu.d.ts +1 -0
  231. package/dist/linux/cpu.js +135 -0
  232. package/dist/linux/disk-layout.d.ts +2 -0
  233. package/dist/linux/disk-layout.js +151 -0
  234. package/dist/linux/disks-io.d.ts +2 -0
  235. package/dist/linux/disks-io.js +58 -0
  236. package/dist/linux/displays.d.ts +2 -0
  237. package/dist/linux/displays.js +193 -0
  238. package/dist/linux/fs-open-files.d.ts +2 -0
  239. package/dist/linux/fs-open-files.js +44 -0
  240. package/dist/linux/fs-size.d.ts +2 -0
  241. package/dist/linux/fs-size.js +157 -0
  242. package/dist/linux/fs-stats.d.ts +2 -0
  243. package/dist/linux/fs-stats.js +65 -0
  244. package/dist/linux/gpu.d.ts +2 -0
  245. package/dist/linux/gpu.js +273 -0
  246. package/dist/linux/index.d.ts +56 -0
  247. package/dist/linux/index.js +122 -0
  248. package/dist/linux/inet-latency.d.ts +1 -0
  249. package/dist/linux/inet-latency.js +39 -0
  250. package/dist/linux/keyboard.d.ts +2 -0
  251. package/dist/linux/keyboard.js +61 -0
  252. package/dist/linux/mem-layout.d.ts +2 -0
  253. package/dist/linux/mem-layout.js +112 -0
  254. package/dist/linux/mem.d.ts +2 -0
  255. package/dist/linux/mem.js +61 -0
  256. package/dist/linux/mouse.d.ts +2 -0
  257. package/dist/linux/mouse.js +73 -0
  258. package/dist/linux/network-connections.d.ts +2 -0
  259. package/dist/linux/network-connections.js +114 -0
  260. package/dist/linux/network-gateway-default.d.ts +1 -0
  261. package/dist/linux/network-gateway-default.js +22 -0
  262. package/dist/linux/network-interface-default.d.ts +2 -0
  263. package/dist/linux/network-interface-default.js +46 -0
  264. package/dist/linux/network-interfaces.d.ts +3 -0
  265. package/dist/linux/network-interfaces.js +353 -0
  266. package/dist/linux/network-stats.d.ts +2 -0
  267. package/dist/linux/network-stats.js +99 -0
  268. package/dist/linux/npm.d.ts +1 -0
  269. package/dist/linux/npm.js +5 -0
  270. package/dist/linux/npu.d.ts +2 -0
  271. package/dist/linux/npu.js +77 -0
  272. package/dist/linux/os-info.d.ts +1 -0
  273. package/dist/linux/os-info.js +104 -0
  274. package/dist/linux/pci.d.ts +2 -0
  275. package/dist/linux/pci.js +56 -0
  276. package/dist/linux/printer.d.ts +2 -0
  277. package/dist/linux/printer.js +80 -0
  278. package/dist/linux/process-load.d.ts +2 -0
  279. package/dist/linux/process-load.js +164 -0
  280. package/dist/linux/processes.d.ts +2 -0
  281. package/dist/linux/processes.js +358 -0
  282. package/dist/linux/services.d.ts +2 -0
  283. package/dist/linux/services.js +222 -0
  284. package/dist/linux/software.d.ts +2 -0
  285. package/dist/linux/software.js +110 -0
  286. package/dist/linux/system.d.ts +1 -0
  287. package/dist/linux/system.js +186 -0
  288. package/dist/linux/thunderbolt.d.ts +2 -0
  289. package/dist/linux/thunderbolt.js +51 -0
  290. package/dist/linux/time.d.ts +6 -0
  291. package/dist/linux/time.js +28 -0
  292. package/dist/linux/usb.d.ts +2 -0
  293. package/dist/linux/usb.js +62 -0
  294. package/dist/linux/users.d.ts +2 -0
  295. package/dist/linux/users.js +102 -0
  296. package/dist/linux/uuid.d.ts +2 -0
  297. package/dist/linux/uuid.js +44 -0
  298. package/dist/linux/wifi-connections.d.ts +2 -0
  299. package/dist/linux/wifi-connections.js +196 -0
  300. package/dist/linux/wifi-interfaces.d.ts +2 -0
  301. package/dist/linux/wifi-interfaces.js +96 -0
  302. package/dist/linux/wifi-networks.d.ts +2 -0
  303. package/dist/linux/wifi-networks.js +176 -0
  304. package/dist/mem-layout.d.ts +1 -0
  305. package/dist/mem-layout.js +17 -0
  306. package/dist/mem.d.ts +1 -0
  307. package/dist/mem.js +19 -0
  308. package/dist/mouse.d.ts +1 -0
  309. package/dist/mouse.js +17 -0
  310. package/dist/network-connections.d.ts +1 -0
  311. package/dist/network-connections.js +17 -0
  312. package/dist/network-gateway-default.d.ts +1 -0
  313. package/dist/network-gateway-default.js +17 -0
  314. package/dist/network-interface-default.d.ts +1 -0
  315. package/dist/network-interface-default.js +17 -0
  316. package/dist/network-interfaces.d.ts +1 -0
  317. package/dist/network-interfaces.js +18 -0
  318. package/dist/network-stats.d.ts +1 -0
  319. package/dist/network-stats.js +19 -0
  320. package/dist/npm.d.ts +2 -0
  321. package/dist/npm.js +22 -0
  322. package/dist/npu.d.ts +1 -0
  323. package/dist/npu.js +17 -0
  324. package/dist/observe.d.ts +5 -0
  325. package/dist/observe.js +16 -0
  326. package/dist/os-info.d.ts +1 -0
  327. package/dist/os-info.js +21 -0
  328. package/dist/pci.d.ts +1 -0
  329. package/dist/pci.js +17 -0
  330. package/dist/printer.d.ts +1 -0
  331. package/dist/printer.js +17 -0
  332. package/dist/process-load.d.ts +1 -0
  333. package/dist/process-load.js +15 -0
  334. package/dist/processes.d.ts +1 -0
  335. package/dist/processes.js +15 -0
  336. package/dist/services.d.ts +1 -0
  337. package/dist/services.js +15 -0
  338. package/dist/shell.d.ts +1 -0
  339. package/dist/shell.js +16 -0
  340. package/dist/software.d.ts +1 -0
  341. package/dist/software.js +17 -0
  342. package/dist/sun/index.d.ts +17 -0
  343. package/dist/sun/index.js +43 -0
  344. package/dist/sun/inet-latency.d.ts +1 -0
  345. package/dist/sun/inet-latency.js +30 -0
  346. package/dist/sun/os-info.d.ts +1 -0
  347. package/dist/sun/os-info.js +26 -0
  348. package/dist/sun/users.d.ts +2 -0
  349. package/dist/sun/users.js +13 -0
  350. package/dist/system.d.ts +1 -0
  351. package/dist/system.js +17 -0
  352. package/dist/thunderbolt.d.ts +1 -0
  353. package/dist/thunderbolt.js +17 -0
  354. package/dist/time.d.ts +6 -0
  355. package/dist/time.js +28 -0
  356. package/dist/usb.d.ts +1 -0
  357. package/dist/usb.js +17 -0
  358. package/dist/users.d.ts +1 -0
  359. package/dist/users.js +21 -0
  360. package/dist/uuid.d.ts +1 -0
  361. package/dist/uuid.js +19 -0
  362. package/dist/version.d.ts +1 -0
  363. package/dist/version.js +16 -0
  364. package/dist/versions.d.ts +2 -0
  365. package/dist/versions.js +1122 -0
  366. package/dist/virtualbox.d.ts +2 -0
  367. package/dist/virtualbox.js +89 -0
  368. package/dist/wifi-connections.d.ts +1 -0
  369. package/dist/wifi-connections.js +17 -0
  370. package/dist/wifi-interfaces.d.ts +1 -0
  371. package/dist/wifi-interfaces.js +17 -0
  372. package/dist/wifi-networks.d.ts +1 -0
  373. package/dist/wifi-networks.js +17 -0
  374. package/dist/windows/audio.d.ts +2 -0
  375. package/dist/windows/audio.js +23 -0
  376. package/dist/windows/baseboard.d.ts +1 -0
  377. package/dist/windows/baseboard.js +35 -0
  378. package/dist/windows/battery.d.ts +1 -0
  379. package/dist/windows/battery.js +81 -0
  380. package/dist/windows/bios.d.ts +1 -0
  381. package/dist/windows/bios.js +37 -0
  382. package/dist/windows/block-devices.d.ts +2 -0
  383. package/dist/windows/block-devices.js +48 -0
  384. package/dist/windows/bluetooth.d.ts +2 -0
  385. package/dist/windows/bluetooth.js +31 -0
  386. package/dist/windows/camera.d.ts +2 -0
  387. package/dist/windows/camera.js +47 -0
  388. package/dist/windows/chassis.d.ts +1 -0
  389. package/dist/windows/chassis.js +29 -0
  390. package/dist/windows/cpu-cache.d.ts +2 -0
  391. package/dist/windows/cpu-cache.js +59 -0
  392. package/dist/windows/cpu-flags.d.ts +1 -0
  393. package/dist/windows/cpu-flags.js +61 -0
  394. package/dist/windows/cpu-temperature.d.ts +1 -0
  395. package/dist/windows/cpu-temperature.js +32 -0
  396. package/dist/windows/cpu.d.ts +1 -0
  397. package/dist/windows/cpu.js +96 -0
  398. package/dist/windows/disk-layout.d.ts +2 -0
  399. package/dist/windows/disk-layout.js +112 -0
  400. package/dist/windows/disks-io.d.ts +2 -0
  401. package/dist/windows/disks-io.js +43 -0
  402. package/dist/windows/displays.d.ts +2 -0
  403. package/dist/windows/displays.js +213 -0
  404. package/dist/windows/fs-open-files.d.ts +2 -0
  405. package/dist/windows/fs-open-files.js +22 -0
  406. package/dist/windows/fs-size.d.ts +2 -0
  407. package/dist/windows/fs-size.js +47 -0
  408. package/dist/windows/fs-stats.d.ts +2 -0
  409. package/dist/windows/fs-stats.js +37 -0
  410. package/dist/windows/gpu.d.ts +2 -0
  411. package/dist/windows/gpu.js +128 -0
  412. package/dist/windows/index.d.ts +56 -0
  413. package/dist/windows/index.js +122 -0
  414. package/dist/windows/inet-latency.d.ts +1 -0
  415. package/dist/windows/inet-latency.js +34 -0
  416. package/dist/windows/keyboard.d.ts +2 -0
  417. package/dist/windows/keyboard.js +47 -0
  418. package/dist/windows/mem-layout.d.ts +2 -0
  419. package/dist/windows/mem-layout.js +39 -0
  420. package/dist/windows/mem.d.ts +2 -0
  421. package/dist/windows/mem.js +33 -0
  422. package/dist/windows/mouse.d.ts +2 -0
  423. package/dist/windows/mouse.js +64 -0
  424. package/dist/windows/network-connections.d.ts +2 -0
  425. package/dist/windows/network-connections.js +93 -0
  426. package/dist/windows/network-gateway-default.d.ts +1 -0
  427. package/dist/windows/network-gateway-default.js +36 -0
  428. package/dist/windows/network-interface-default.d.ts +2 -0
  429. package/dist/windows/network-interface-default.js +56 -0
  430. package/dist/windows/network-interfaces.d.ts +2 -0
  431. package/dist/windows/network-interfaces.js +346 -0
  432. package/dist/windows/network-stats.d.ts +2 -0
  433. package/dist/windows/network-stats.js +135 -0
  434. package/dist/windows/npm.d.ts +1 -0
  435. package/dist/windows/npm.js +5 -0
  436. package/dist/windows/npu.d.ts +2 -0
  437. package/dist/windows/npu.js +29 -0
  438. package/dist/windows/os-info.d.ts +1 -0
  439. package/dist/windows/os-info.js +65 -0
  440. package/dist/windows/pci.d.ts +2 -0
  441. package/dist/windows/pci.js +33 -0
  442. package/dist/windows/printer.d.ts +2 -0
  443. package/dist/windows/printer.js +36 -0
  444. package/dist/windows/process-load.d.ts +2 -0
  445. package/dist/windows/process-load.js +121 -0
  446. package/dist/windows/processes.d.ts +9 -0
  447. package/dist/windows/processes.js +139 -0
  448. package/dist/windows/services.d.ts +2 -0
  449. package/dist/windows/services.js +83 -0
  450. package/dist/windows/shell.d.ts +1 -0
  451. package/dist/windows/shell.js +19 -0
  452. package/dist/windows/software.d.ts +2 -0
  453. package/dist/windows/software.js +53 -0
  454. package/dist/windows/system.d.ts +1 -0
  455. package/dist/windows/system.js +98 -0
  456. package/dist/windows/thunderbolt.d.ts +2 -0
  457. package/dist/windows/thunderbolt.js +34 -0
  458. package/dist/windows/usb.d.ts +2 -0
  459. package/dist/windows/usb.js +37 -0
  460. package/dist/windows/users.d.ts +2 -0
  461. package/dist/windows/users.js +151 -0
  462. package/dist/windows/uuid.d.ts +2 -0
  463. package/dist/windows/uuid.js +28 -0
  464. package/dist/windows/wifi-connections.d.ts +2 -0
  465. package/dist/windows/wifi-connections.js +56 -0
  466. package/dist/windows/wifi-interfaces.d.ts +2 -0
  467. package/dist/windows/wifi-interfaces.js +45 -0
  468. package/dist/windows/wifi-networks.d.ts +2 -0
  469. package/dist/windows/wifi-networks.js +50 -0
  470. package/package.json +78 -12
  471. package/lib/audio.js +0 -277
  472. package/lib/battery.js +0 -334
  473. package/lib/bluetooth.js +0 -315
  474. package/lib/bluetoothVendors.js +0 -1138
  475. package/lib/cli.js +0 -100
  476. package/lib/cpu.js +0 -2285
  477. package/lib/docker.js +0 -791
  478. package/lib/dockerSocket.js +0 -117
  479. package/lib/filesystem.js +0 -1832
  480. package/lib/graphics.js +0 -1321
  481. package/lib/index.d.ts +0 -1051
  482. package/lib/index.js +0 -520
  483. package/lib/internet.js +0 -259
  484. package/lib/memory.js +0 -622
  485. package/lib/network.js +0 -2008
  486. package/lib/osinfo.js +0 -1321
  487. package/lib/printer.js +0 -209
  488. package/lib/processes.js +0 -1459
  489. package/lib/system.js +0 -855
  490. package/lib/usb.js +0 -309
  491. package/lib/users.js +0 -412
  492. package/lib/util.js +0 -2824
  493. package/lib/virtualbox.js +0 -116
  494. package/lib/wifi.js +0 -839
@@ -0,0 +1,110 @@
1
+ export declare const getStaticData: () => Promise<{
2
+ version: string;
3
+ system: any;
4
+ bios: any;
5
+ baseboard: any;
6
+ chassis: any;
7
+ os: any;
8
+ uuid: import("./common/types").UuidData | null;
9
+ versions: import("./common/types").VersionData[];
10
+ cpu: any;
11
+ gpu: import("./common/types").GpuData[] | null;
12
+ displays: import("./common/types").DisplayData[] | null;
13
+ net: import("./common/types").NetworkInterfacesData[] | null;
14
+ memLayout: import("./common/types").MemLayoutData[] | null;
15
+ diskLayout: import("./common/types").DiskLayoutData[] | null;
16
+ audio: import("./common/types").AudioData[] | null;
17
+ bluetooth: import("./common/types").BluetoothObject[] | null;
18
+ usb: import("./common/types").UsbData[] | null;
19
+ printer: import("./common/types").PrinterData[] | null;
20
+ camera: import("./common/types").Camera[] | null;
21
+ keyboard: import("./common/types").Keyboard[] | null;
22
+ mouse: import("./common/types").Mouse[] | null;
23
+ pci: import("./common/types").PciData[] | null;
24
+ thunderbolt: any;
25
+ npu: import("./common/types").NpuData[] | null;
26
+ wifiInterfaces: import("./common/types").WifiInterfaceData[] | null;
27
+ software: import("./common/types").Software[] | null;
28
+ }>;
29
+ export declare const getDynamicData: (srv?: string, iface?: string) => Promise<{
30
+ time: {
31
+ current: number;
32
+ uptime: number;
33
+ timezone: string;
34
+ timezoneName: string;
35
+ };
36
+ node: string;
37
+ v8: string;
38
+ cpuCurrentSpeed: import("./common/types").CpuCurrentSpeedObject;
39
+ users: import("./common/types").UserData[] | null;
40
+ processes: import("./common/types").ProcessesData | null;
41
+ currentLoad: import("./common/types").CurrentLoadData;
42
+ temp: any;
43
+ networkStats: import("./common/types").NetworkStatsData[] | null;
44
+ networkConnections: import("./common/types").NetworkConnectionsData[] | null;
45
+ mem: any;
46
+ battery: any[] | null;
47
+ services: import("./common/types").ServicesData[] | null;
48
+ fsSize: import("./common/types").FsSizeData[] | null;
49
+ fsStats: import("./common/types").FsStatsData | null;
50
+ disksIO: import("./common/types").DisksIoData | null;
51
+ wifiNetworks: import("./common/types").WifiNetworkData[] | null;
52
+ wifiConnections: import("./common/types").WifiConnectionData[] | null;
53
+ fsOpenFiles: import("./common/types").FsOpenFilesData | null;
54
+ blockDevices: import("./common/types").FsBlockDevicesData[] | null;
55
+ inetLatency: number | null;
56
+ }>;
57
+ export declare const getAllData: (srv?: string, iface?: string) => Promise<{
58
+ time: {
59
+ current: number;
60
+ uptime: number;
61
+ timezone: string;
62
+ timezoneName: string;
63
+ };
64
+ node: string;
65
+ v8: string;
66
+ cpuCurrentSpeed: import("./common/types").CpuCurrentSpeedObject;
67
+ users: import("./common/types").UserData[] | null;
68
+ processes: import("./common/types").ProcessesData | null;
69
+ currentLoad: import("./common/types").CurrentLoadData;
70
+ temp: any;
71
+ networkStats: import("./common/types").NetworkStatsData[] | null;
72
+ networkConnections: import("./common/types").NetworkConnectionsData[] | null;
73
+ mem: any;
74
+ battery: any[] | null;
75
+ services: import("./common/types").ServicesData[] | null;
76
+ fsSize: import("./common/types").FsSizeData[] | null;
77
+ fsStats: import("./common/types").FsStatsData | null;
78
+ disksIO: import("./common/types").DisksIoData | null;
79
+ wifiNetworks: import("./common/types").WifiNetworkData[] | null;
80
+ wifiConnections: import("./common/types").WifiConnectionData[] | null;
81
+ fsOpenFiles: import("./common/types").FsOpenFilesData | null;
82
+ blockDevices: import("./common/types").FsBlockDevicesData[] | null;
83
+ inetLatency: number | null;
84
+ version: string;
85
+ system: any;
86
+ bios: any;
87
+ baseboard: any;
88
+ chassis: any;
89
+ os: any;
90
+ uuid: import("./common/types").UuidData | null;
91
+ versions: import("./common/types").VersionData[];
92
+ cpu: any;
93
+ gpu: import("./common/types").GpuData[] | null;
94
+ displays: import("./common/types").DisplayData[] | null;
95
+ net: import("./common/types").NetworkInterfacesData[] | null;
96
+ memLayout: import("./common/types").MemLayoutData[] | null;
97
+ diskLayout: import("./common/types").DiskLayoutData[] | null;
98
+ audio: import("./common/types").AudioData[] | null;
99
+ bluetooth: import("./common/types").BluetoothObject[] | null;
100
+ usb: import("./common/types").UsbData[] | null;
101
+ printer: import("./common/types").PrinterData[] | null;
102
+ camera: import("./common/types").Camera[] | null;
103
+ keyboard: import("./common/types").Keyboard[] | null;
104
+ mouse: import("./common/types").Mouse[] | null;
105
+ pci: import("./common/types").PciData[] | null;
106
+ thunderbolt: any;
107
+ npu: import("./common/types").NpuData[] | null;
108
+ wifiInterfaces: import("./common/types").WifiInterfaceData[] | null;
109
+ software: import("./common/types").Software[] | null;
110
+ }>;
@@ -0,0 +1,151 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.getAllData = exports.getDynamicData = exports.getStaticData = void 0;
37
+ const common_1 = require("./common");
38
+ const si = __importStar(require("./index"));
39
+ const getStaticData = async () => {
40
+ await (0, common_1.nextTick)();
41
+ const [version, system, bios, baseboard, chassis, os, uuid, versions, cpu, cpuFlags, gpu, displays, net, memLayout, diskLayout, audio, bluetooth, usb, printer, camera, keyboard, mouse, pci, thunderbolt, npu, wifiInterfaces, software] = await Promise.all([
42
+ si.version(),
43
+ si.system(),
44
+ si.bios(),
45
+ si.baseboard(),
46
+ si.chassis(),
47
+ si.osInfo(),
48
+ si.uuid(),
49
+ si.versions(),
50
+ si.cpu(),
51
+ si.cpuFlags(),
52
+ si.gpu(),
53
+ si.displays(),
54
+ si.networkInterfaces(),
55
+ si.memLayout(),
56
+ si.diskLayout(),
57
+ si.audio(),
58
+ si.bluetoothDevices(),
59
+ si.usb(),
60
+ si.printer(),
61
+ si.camera(),
62
+ si.keyboard(),
63
+ si.mouse(),
64
+ si.pci(),
65
+ si.thunderbolt(),
66
+ si.npu(),
67
+ si.wifiInterfaces(),
68
+ si.software()
69
+ ]);
70
+ return {
71
+ version,
72
+ system,
73
+ bios,
74
+ baseboard,
75
+ chassis,
76
+ os,
77
+ uuid,
78
+ versions,
79
+ cpu: { ...cpu, flags: cpuFlags },
80
+ gpu,
81
+ displays,
82
+ net,
83
+ memLayout,
84
+ diskLayout,
85
+ audio,
86
+ bluetooth,
87
+ usb,
88
+ printer,
89
+ camera,
90
+ keyboard,
91
+ mouse,
92
+ pci,
93
+ thunderbolt,
94
+ npu,
95
+ wifiInterfaces,
96
+ software
97
+ };
98
+ };
99
+ exports.getStaticData = getStaticData;
100
+ const getDynamicData = async (srv = '', iface = '') => {
101
+ await (0, common_1.nextTick)();
102
+ const [time, cpuCurrentSpeed, users, processes, currentLoad, temp, networkStats, networkConnections, mem, battery, services, fsSize, fsStats, disksIO, wifiNetworks, wifiConnections, fsOpenFiles, blockDevices, inetLatency] = await Promise.all([
103
+ si.time(),
104
+ si.cpuCurrentSpeed(),
105
+ si.users(),
106
+ si.processes(),
107
+ si.currentLoad(),
108
+ si.cpuTemperature(),
109
+ (async () => si.networkStats(iface || (await si.networkInterfaceDefault()) || '*'))(),
110
+ si.networkConnections(),
111
+ si.mem(),
112
+ si.battery(),
113
+ si.services(srv || '*'),
114
+ si.fsSize(),
115
+ si.fsStats(),
116
+ si.disksIO(),
117
+ si.wifiNetworks(),
118
+ si.wifiConnections(),
119
+ si.fsOpenFiles(),
120
+ si.blockDevices(),
121
+ si.inetLatency('8.8.8.8')
122
+ ]);
123
+ return {
124
+ time,
125
+ node: process.versions.node,
126
+ v8: process.versions.v8,
127
+ cpuCurrentSpeed,
128
+ users,
129
+ processes,
130
+ currentLoad,
131
+ temp,
132
+ networkStats,
133
+ networkConnections,
134
+ mem,
135
+ battery,
136
+ services,
137
+ fsSize,
138
+ fsStats,
139
+ disksIO,
140
+ wifiNetworks,
141
+ wifiConnections,
142
+ fsOpenFiles,
143
+ blockDevices,
144
+ inetLatency
145
+ };
146
+ };
147
+ exports.getDynamicData = getDynamicData;
148
+ const getAllData = async (srv = '', iface = '') => {
149
+ return { ...(await (0, exports.getStaticData)()), ...(await (0, exports.getDynamicData)(srv, iface)) };
150
+ };
151
+ exports.getAllData = getAllData;
package/dist/get.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ export declare const get: (valueObject: {
2
+ [key: string]: string;
3
+ }) => Promise<{
4
+ [key: string]: any;
5
+ }>;
package/dist/get.js ADDED
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.get = void 0;
37
+ const common_1 = require("./common");
38
+ const functions = __importStar(require("./index"));
39
+ const blocked = ['get', 'observe', 'getStaticData', 'getDynamicData', 'getAllData'];
40
+ const pickKeys = (element, keyList) => {
41
+ if (keyList.length === 1 && (keyList[0] === '*' || keyList[0] === 'all')) {
42
+ return element;
43
+ }
44
+ const partial = {};
45
+ keyList.forEach((k) => {
46
+ if (Object.prototype.hasOwnProperty.call(element, k)) {
47
+ partial[k] = element[k];
48
+ }
49
+ });
50
+ return partial;
51
+ };
52
+ const pickResult = (data, value) => {
53
+ if (value === '*' || value === 'all') {
54
+ return data;
55
+ }
56
+ let keys = value;
57
+ let filterParts = [];
58
+ if (keys.indexOf(')') >= 0) {
59
+ keys = (keys.split(')')[1] || '').trim();
60
+ }
61
+ if (keys.indexOf('|') >= 0) {
62
+ filterParts = (keys.split('|')[1] || '').trim().split(':');
63
+ keys = (keys.split('|')[0] || '').trim();
64
+ }
65
+ const keyList = keys.replace(/,/g, ' ').replace(/ +/g, ' ').trim().split(' ');
66
+ if (!data) {
67
+ return {};
68
+ }
69
+ if (Array.isArray(data)) {
70
+ const partialArray = [];
71
+ data.forEach((element) => {
72
+ const partialRes = pickKeys(element, keyList);
73
+ if (filterParts.length === 2) {
74
+ const filterKey = filterParts[0].trim();
75
+ const filterValue = filterParts[1].trim();
76
+ if (Object.prototype.hasOwnProperty.call(partialRes, filterKey)) {
77
+ const val = partialRes[filterKey];
78
+ if (typeof val === 'number') {
79
+ if (val === parseFloat(filterValue)) {
80
+ partialArray.push(partialRes);
81
+ }
82
+ }
83
+ else if (typeof val === 'string') {
84
+ if (val.toLowerCase() === filterValue.toLowerCase()) {
85
+ partialArray.push(partialRes);
86
+ }
87
+ }
88
+ }
89
+ }
90
+ else {
91
+ partialArray.push(partialRes);
92
+ }
93
+ });
94
+ return partialArray;
95
+ }
96
+ return pickKeys(data, keyList);
97
+ };
98
+ const get = async (valueObject) => {
99
+ await (0, common_1.nextTick)();
100
+ const lib = functions;
101
+ const isGettable = (key) => Object.prototype.hasOwnProperty.call(lib, key) && typeof lib[key] === 'function' && typeof (valueObject || {})[key] === 'string' && blocked.indexOf(key) < 0;
102
+ const keys = Object.keys(valueObject || {}).filter(isGettable);
103
+ const data = await Promise.all(keys.map((func) => {
104
+ const value = valueObject[func];
105
+ const params = value.substring(value.lastIndexOf('(') + 1, value.lastIndexOf(')'));
106
+ return params ? lib[func](params) : lib[func]();
107
+ }));
108
+ const result = {};
109
+ keys.forEach((key, i) => {
110
+ result[key] = pickResult(data[i], valueObject[key]);
111
+ });
112
+ if (Object.prototype.hasOwnProperty.call(valueObject || {}, 'graphics')) {
113
+ result.graphics = 'graphics() was removed in v6 - use gpu and displays instead';
114
+ }
115
+ return result;
116
+ };
117
+ exports.get = get;
package/dist/gpu.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const gpu: () => Promise<import("./common/types").GpuData[] | null>;
package/dist/gpu.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.gpu = void 0;
4
+ const const_1 = require("./common/const");
5
+ const gpu = async () => {
6
+ switch (true) {
7
+ case const_1.LINUX || const_1.ANDROID:
8
+ return (await import('./linux/gpu.js')).gpu();
9
+ case const_1.DARWIN:
10
+ return (await import('./darwin/gpu.js')).gpu();
11
+ case const_1.WINDOWS:
12
+ return (await import('./windows/gpu.js')).gpu();
13
+ default:
14
+ return null;
15
+ }
16
+ };
17
+ exports.gpu = gpu;
@@ -0,0 +1,59 @@
1
+ export { audio } from './audio';
2
+ export { baseboard } from './baseboard';
3
+ export { battery } from './battery';
4
+ export { bios } from './bios';
5
+ export { blockDevices } from './block-devices';
6
+ export { bluetoothDevices } from './bluetooth';
7
+ export { camera } from './camera';
8
+ export { chassis } from './chassis';
9
+ export { cpu } from './cpu';
10
+ export { cpuCache } from './cpu-cache';
11
+ export { cpuCurrentSpeed } from './cpu-current-speed';
12
+ export { cpuFlags } from './cpu-flags';
13
+ export { cpuTemperature } from './cpu-temperature';
14
+ export { currentLoad } from './cpu-current-load';
15
+ export { diskLayout } from './disk-layout';
16
+ export { disksIO } from './disks-io';
17
+ export { displays } from './displays';
18
+ export { dockerInfo, dockerImages, dockerContainers, dockerContainerStats, dockerContainerProcesses, dockerVolumes, dockerAll } from './docker';
19
+ export { fsOpenFiles } from './fs-open-files';
20
+ export { fsSize } from './fs-size';
21
+ export { fsStats } from './fs-stats';
22
+ export { fullLoad } from './cpu-full-load';
23
+ export { get } from './get';
24
+ export { getStaticData, getDynamicData, getAllData } from './get-data';
25
+ export { gpu } from './gpu';
26
+ export { inetChecksite } from './inet-checksite';
27
+ export { inetLatency } from './inet-latency';
28
+ export { keyboard } from './keyboard';
29
+ export { mem } from './mem';
30
+ export { memLayout } from './mem-layout';
31
+ export { mouse } from './mouse';
32
+ export { networkConnections } from './network-connections';
33
+ export { networkGatewayDefault } from './network-gateway-default';
34
+ export { networkInterfaceDefault } from './network-interface-default';
35
+ export { networkInterfaces } from './network-interfaces';
36
+ export { networkStats } from './network-stats';
37
+ export { npm } from './npm';
38
+ export { npu } from './npu';
39
+ export { observe } from './observe';
40
+ export { osInfo } from './os-info';
41
+ export { pci } from './pci';
42
+ export { printer } from './printer';
43
+ export { processes } from './processes';
44
+ export { processLoad } from './process-load';
45
+ export { services } from './services';
46
+ export { shell } from './shell';
47
+ export { software } from './software';
48
+ export { system } from './system';
49
+ export { thunderbolt } from './thunderbolt';
50
+ export { time } from './time';
51
+ export { usb } from './usb';
52
+ export { users } from './users';
53
+ export { uuid } from './uuid';
54
+ export { vboxInfo } from './virtualbox';
55
+ export { version } from './version';
56
+ export { versions } from './versions';
57
+ export { wifiConnections } from './wifi-connections';
58
+ export { wifiInterfaces } from './wifi-interfaces';
59
+ export { wifiNetworks } from './wifi-networks';
package/dist/index.js ADDED
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.printer = exports.pci = exports.osInfo = exports.observe = exports.npu = exports.npm = exports.networkStats = exports.networkInterfaces = exports.networkInterfaceDefault = exports.networkGatewayDefault = exports.networkConnections = exports.mouse = exports.memLayout = exports.mem = exports.keyboard = exports.inetLatency = exports.inetChecksite = exports.gpu = exports.getAllData = exports.getDynamicData = exports.getStaticData = exports.get = exports.fullLoad = exports.fsStats = exports.fsSize = exports.fsOpenFiles = exports.dockerAll = exports.dockerVolumes = exports.dockerContainerProcesses = exports.dockerContainerStats = exports.dockerContainers = exports.dockerImages = exports.dockerInfo = exports.displays = exports.disksIO = exports.diskLayout = exports.currentLoad = exports.cpuTemperature = exports.cpuFlags = exports.cpuCurrentSpeed = exports.cpuCache = exports.cpu = exports.chassis = exports.camera = exports.bluetoothDevices = exports.blockDevices = exports.bios = exports.battery = exports.baseboard = exports.audio = void 0;
4
+ exports.wifiNetworks = exports.wifiInterfaces = exports.wifiConnections = exports.versions = exports.version = exports.vboxInfo = exports.uuid = exports.users = exports.usb = exports.time = exports.thunderbolt = exports.system = exports.software = exports.shell = exports.services = exports.processLoad = exports.processes = void 0;
5
+ var audio_1 = require("./audio");
6
+ Object.defineProperty(exports, "audio", { enumerable: true, get: function () { return audio_1.audio; } });
7
+ var baseboard_1 = require("./baseboard");
8
+ Object.defineProperty(exports, "baseboard", { enumerable: true, get: function () { return baseboard_1.baseboard; } });
9
+ var battery_1 = require("./battery");
10
+ Object.defineProperty(exports, "battery", { enumerable: true, get: function () { return battery_1.battery; } });
11
+ var bios_1 = require("./bios");
12
+ Object.defineProperty(exports, "bios", { enumerable: true, get: function () { return bios_1.bios; } });
13
+ var block_devices_1 = require("./block-devices");
14
+ Object.defineProperty(exports, "blockDevices", { enumerable: true, get: function () { return block_devices_1.blockDevices; } });
15
+ var bluetooth_1 = require("./bluetooth");
16
+ Object.defineProperty(exports, "bluetoothDevices", { enumerable: true, get: function () { return bluetooth_1.bluetoothDevices; } });
17
+ var camera_1 = require("./camera");
18
+ Object.defineProperty(exports, "camera", { enumerable: true, get: function () { return camera_1.camera; } });
19
+ var chassis_1 = require("./chassis");
20
+ Object.defineProperty(exports, "chassis", { enumerable: true, get: function () { return chassis_1.chassis; } });
21
+ var cpu_1 = require("./cpu");
22
+ Object.defineProperty(exports, "cpu", { enumerable: true, get: function () { return cpu_1.cpu; } });
23
+ var cpu_cache_1 = require("./cpu-cache");
24
+ Object.defineProperty(exports, "cpuCache", { enumerable: true, get: function () { return cpu_cache_1.cpuCache; } });
25
+ var cpu_current_speed_1 = require("./cpu-current-speed");
26
+ Object.defineProperty(exports, "cpuCurrentSpeed", { enumerable: true, get: function () { return cpu_current_speed_1.cpuCurrentSpeed; } });
27
+ var cpu_flags_1 = require("./cpu-flags");
28
+ Object.defineProperty(exports, "cpuFlags", { enumerable: true, get: function () { return cpu_flags_1.cpuFlags; } });
29
+ var cpu_temperature_1 = require("./cpu-temperature");
30
+ Object.defineProperty(exports, "cpuTemperature", { enumerable: true, get: function () { return cpu_temperature_1.cpuTemperature; } });
31
+ var cpu_current_load_1 = require("./cpu-current-load");
32
+ Object.defineProperty(exports, "currentLoad", { enumerable: true, get: function () { return cpu_current_load_1.currentLoad; } });
33
+ var disk_layout_1 = require("./disk-layout");
34
+ Object.defineProperty(exports, "diskLayout", { enumerable: true, get: function () { return disk_layout_1.diskLayout; } });
35
+ var disks_io_1 = require("./disks-io");
36
+ Object.defineProperty(exports, "disksIO", { enumerable: true, get: function () { return disks_io_1.disksIO; } });
37
+ var displays_1 = require("./displays");
38
+ Object.defineProperty(exports, "displays", { enumerable: true, get: function () { return displays_1.displays; } });
39
+ var docker_1 = require("./docker");
40
+ Object.defineProperty(exports, "dockerInfo", { enumerable: true, get: function () { return docker_1.dockerInfo; } });
41
+ Object.defineProperty(exports, "dockerImages", { enumerable: true, get: function () { return docker_1.dockerImages; } });
42
+ Object.defineProperty(exports, "dockerContainers", { enumerable: true, get: function () { return docker_1.dockerContainers; } });
43
+ Object.defineProperty(exports, "dockerContainerStats", { enumerable: true, get: function () { return docker_1.dockerContainerStats; } });
44
+ Object.defineProperty(exports, "dockerContainerProcesses", { enumerable: true, get: function () { return docker_1.dockerContainerProcesses; } });
45
+ Object.defineProperty(exports, "dockerVolumes", { enumerable: true, get: function () { return docker_1.dockerVolumes; } });
46
+ Object.defineProperty(exports, "dockerAll", { enumerable: true, get: function () { return docker_1.dockerAll; } });
47
+ var fs_open_files_1 = require("./fs-open-files");
48
+ Object.defineProperty(exports, "fsOpenFiles", { enumerable: true, get: function () { return fs_open_files_1.fsOpenFiles; } });
49
+ var fs_size_1 = require("./fs-size");
50
+ Object.defineProperty(exports, "fsSize", { enumerable: true, get: function () { return fs_size_1.fsSize; } });
51
+ var fs_stats_1 = require("./fs-stats");
52
+ Object.defineProperty(exports, "fsStats", { enumerable: true, get: function () { return fs_stats_1.fsStats; } });
53
+ var cpu_full_load_1 = require("./cpu-full-load");
54
+ Object.defineProperty(exports, "fullLoad", { enumerable: true, get: function () { return cpu_full_load_1.fullLoad; } });
55
+ var get_1 = require("./get");
56
+ Object.defineProperty(exports, "get", { enumerable: true, get: function () { return get_1.get; } });
57
+ var get_data_1 = require("./get-data");
58
+ Object.defineProperty(exports, "getStaticData", { enumerable: true, get: function () { return get_data_1.getStaticData; } });
59
+ Object.defineProperty(exports, "getDynamicData", { enumerable: true, get: function () { return get_data_1.getDynamicData; } });
60
+ Object.defineProperty(exports, "getAllData", { enumerable: true, get: function () { return get_data_1.getAllData; } });
61
+ var gpu_1 = require("./gpu");
62
+ Object.defineProperty(exports, "gpu", { enumerable: true, get: function () { return gpu_1.gpu; } });
63
+ var inet_checksite_1 = require("./inet-checksite");
64
+ Object.defineProperty(exports, "inetChecksite", { enumerable: true, get: function () { return inet_checksite_1.inetChecksite; } });
65
+ var inet_latency_1 = require("./inet-latency");
66
+ Object.defineProperty(exports, "inetLatency", { enumerable: true, get: function () { return inet_latency_1.inetLatency; } });
67
+ var keyboard_1 = require("./keyboard");
68
+ Object.defineProperty(exports, "keyboard", { enumerable: true, get: function () { return keyboard_1.keyboard; } });
69
+ var mem_1 = require("./mem");
70
+ Object.defineProperty(exports, "mem", { enumerable: true, get: function () { return mem_1.mem; } });
71
+ var mem_layout_1 = require("./mem-layout");
72
+ Object.defineProperty(exports, "memLayout", { enumerable: true, get: function () { return mem_layout_1.memLayout; } });
73
+ var mouse_1 = require("./mouse");
74
+ Object.defineProperty(exports, "mouse", { enumerable: true, get: function () { return mouse_1.mouse; } });
75
+ var network_connections_1 = require("./network-connections");
76
+ Object.defineProperty(exports, "networkConnections", { enumerable: true, get: function () { return network_connections_1.networkConnections; } });
77
+ var network_gateway_default_1 = require("./network-gateway-default");
78
+ Object.defineProperty(exports, "networkGatewayDefault", { enumerable: true, get: function () { return network_gateway_default_1.networkGatewayDefault; } });
79
+ var network_interface_default_1 = require("./network-interface-default");
80
+ Object.defineProperty(exports, "networkInterfaceDefault", { enumerable: true, get: function () { return network_interface_default_1.networkInterfaceDefault; } });
81
+ var network_interfaces_1 = require("./network-interfaces");
82
+ Object.defineProperty(exports, "networkInterfaces", { enumerable: true, get: function () { return network_interfaces_1.networkInterfaces; } });
83
+ var network_stats_1 = require("./network-stats");
84
+ Object.defineProperty(exports, "networkStats", { enumerable: true, get: function () { return network_stats_1.networkStats; } });
85
+ var npm_1 = require("./npm");
86
+ Object.defineProperty(exports, "npm", { enumerable: true, get: function () { return npm_1.npm; } });
87
+ var npu_1 = require("./npu");
88
+ Object.defineProperty(exports, "npu", { enumerable: true, get: function () { return npu_1.npu; } });
89
+ var observe_1 = require("./observe");
90
+ Object.defineProperty(exports, "observe", { enumerable: true, get: function () { return observe_1.observe; } });
91
+ var os_info_1 = require("./os-info");
92
+ Object.defineProperty(exports, "osInfo", { enumerable: true, get: function () { return os_info_1.osInfo; } });
93
+ var pci_1 = require("./pci");
94
+ Object.defineProperty(exports, "pci", { enumerable: true, get: function () { return pci_1.pci; } });
95
+ var printer_1 = require("./printer");
96
+ Object.defineProperty(exports, "printer", { enumerable: true, get: function () { return printer_1.printer; } });
97
+ var processes_1 = require("./processes");
98
+ Object.defineProperty(exports, "processes", { enumerable: true, get: function () { return processes_1.processes; } });
99
+ var process_load_1 = require("./process-load");
100
+ Object.defineProperty(exports, "processLoad", { enumerable: true, get: function () { return process_load_1.processLoad; } });
101
+ var services_1 = require("./services");
102
+ Object.defineProperty(exports, "services", { enumerable: true, get: function () { return services_1.services; } });
103
+ var shell_1 = require("./shell");
104
+ Object.defineProperty(exports, "shell", { enumerable: true, get: function () { return shell_1.shell; } });
105
+ var software_1 = require("./software");
106
+ Object.defineProperty(exports, "software", { enumerable: true, get: function () { return software_1.software; } });
107
+ var system_1 = require("./system");
108
+ Object.defineProperty(exports, "system", { enumerable: true, get: function () { return system_1.system; } });
109
+ var thunderbolt_1 = require("./thunderbolt");
110
+ Object.defineProperty(exports, "thunderbolt", { enumerable: true, get: function () { return thunderbolt_1.thunderbolt; } });
111
+ var time_1 = require("./time");
112
+ Object.defineProperty(exports, "time", { enumerable: true, get: function () { return time_1.time; } });
113
+ var usb_1 = require("./usb");
114
+ Object.defineProperty(exports, "usb", { enumerable: true, get: function () { return usb_1.usb; } });
115
+ var users_1 = require("./users");
116
+ Object.defineProperty(exports, "users", { enumerable: true, get: function () { return users_1.users; } });
117
+ var uuid_1 = require("./uuid");
118
+ Object.defineProperty(exports, "uuid", { enumerable: true, get: function () { return uuid_1.uuid; } });
119
+ var virtualbox_1 = require("./virtualbox");
120
+ Object.defineProperty(exports, "vboxInfo", { enumerable: true, get: function () { return virtualbox_1.vboxInfo; } });
121
+ var version_1 = require("./version");
122
+ Object.defineProperty(exports, "version", { enumerable: true, get: function () { return version_1.version; } });
123
+ var versions_1 = require("./versions");
124
+ Object.defineProperty(exports, "versions", { enumerable: true, get: function () { return versions_1.versions; } });
125
+ var wifi_connections_1 = require("./wifi-connections");
126
+ Object.defineProperty(exports, "wifiConnections", { enumerable: true, get: function () { return wifi_connections_1.wifiConnections; } });
127
+ var wifi_interfaces_1 = require("./wifi-interfaces");
128
+ Object.defineProperty(exports, "wifiInterfaces", { enumerable: true, get: function () { return wifi_interfaces_1.wifiInterfaces; } });
129
+ var wifi_networks_1 = require("./wifi-networks");
130
+ Object.defineProperty(exports, "wifiNetworks", { enumerable: true, get: function () { return wifi_networks_1.wifiNetworks; } });
@@ -0,0 +1 @@
1
+ export declare const inetChecksite: (url: string) => Promise<unknown>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inetChecksite = void 0;
4
+ const common_1 = require("./common");
5
+ const internet_1 = require("./common/internet");
6
+ const security_1 = require("./common/security");
7
+ const inetChecksite = async (url) => {
8
+ await (0, common_1.nextTick)();
9
+ return (0, internet_1.checkWebsite)((0, security_1.sanitizeUrl)(url));
10
+ };
11
+ exports.inetChecksite = inetChecksite;
@@ -0,0 +1 @@
1
+ export declare const inetLatency: (host: string) => Promise<number | null>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inetLatency = void 0;
4
+ const const_1 = require("./common/const");
5
+ const inetLatency = async (host) => {
6
+ switch (true) {
7
+ case const_1.LINUX || const_1.DARWIN || const_1.NETBSD || const_1.FREEBSD || const_1.OPENBSD || const_1.ANDROID:
8
+ return (await import('./linux/inet-latency.js')).inetLatency(host);
9
+ case const_1.SUNOS:
10
+ return (await import('./sun/inet-latency.js')).inetLatency(host);
11
+ case const_1.WINDOWS:
12
+ return (await import('./windows/inet-latency.js')).inetLatency(host);
13
+ default:
14
+ return null;
15
+ }
16
+ };
17
+ exports.inetLatency = inetLatency;
@@ -0,0 +1 @@
1
+ export declare const keyboard: () => Promise<import("./common/types").Keyboard[] | null>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.keyboard = void 0;
4
+ const const_1 = require("./common/const");
5
+ const keyboard = async () => {
6
+ switch (true) {
7
+ case const_1.LINUX:
8
+ return (await import('./linux/keyboard.js')).keyboard();
9
+ case const_1.DARWIN:
10
+ return (await import('./darwin/keyboard.js')).keyboard();
11
+ case const_1.WINDOWS:
12
+ return (await import('./windows/keyboard.js')).keyboard();
13
+ default:
14
+ return null;
15
+ }
16
+ };
17
+ exports.keyboard = keyboard;