| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -119,15 +119,15 @@ function loadavg() { | |||
| 119 | 119 | * logical CPU core. | |
| 120 | 120 | * | |
| 121 | 121 | * @returns {Array<{ | |
| 122 | - * model: string | ||
| 123 | - * speed: number | ||
| 122 | + * model: string, | ||
| 123 | + * speed: number, | ||
| 124 | 124 | * times: { | |
| 125 | - * user: number | ||
| 126 | - * nice: number | ||
| 127 | - * sys: number | ||
| 128 | - * idle: number | ||
| 129 | - * irq: number | ||
| 130 | - * } | ||
| 125 | + * user: number, | ||
| 126 | + * nice: number, | ||
| 127 | + * sys: number, | ||
| 128 | + * idle: number, | ||
| 129 | + * irq: number, | ||
| 130 | + * }, | ||
| 131 | 131 | * }>} | |
| 132 | 132 | */ | |
| 133 | 133 | function cpus() { | |
@@ -246,13 +246,13 @@ function getCIDR(address, netmask, family) { | |||
| 246 | 246 | ||
| 247 | 247 | /** | |
| 248 | 248 | * @returns {Record<string, Array<{ | |
| 249 | - * address: string | ||
| 250 | - * netmask: string | ||
| 251 | - * family: 'IPv4' | 'IPv6' | ||
| 252 | - * mac: string | ||
| 253 | - * internal: boolean | ||
| 254 | - * scopeid: number | ||
| 255 | - * cidr: string | null | ||
| 249 | + * address: string, | ||
| 250 | + * netmask: string, | ||
| 251 | + * family: 4 | 6, | ||
| 252 | + * mac: string, | ||
| 253 | + * internal: boolean, | ||
| 254 | + * scopeid: number, | ||
| 255 | + * cidr: string | null, | ||
| 256 | 256 | * }>>} | |
| 257 | 257 | */ | |
| 258 | 258 | function networkInterfaces() { | |
@@ -329,11 +329,11 @@ function getPriority(pid) { | |||
| 329 | 329 | * `'buffer'`, the `username`, `shell`, and `homedir` values will | |
| 330 | 330 | * be `Buffer` instances. | |
| 331 | 331 | * @returns {{ | |
| 332 | - * uid: number | ||
| 333 | - * gid: number | ||
| 334 | - * username: string | ||
| 335 | - * homedir: string | ||
| 336 | - * shell: string | null | ||
| 332 | + * uid: number, | ||
| 333 | + * gid: number, | ||
| 334 | + * username: string, | ||
| 335 | + * homedir: string, | ||
| 336 | + * shell: string | null, | ||
| 337 | 337 | * }} | |
| 338 | 338 | */ | |
| 339 | 339 | function userInfo(options) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments