Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
finnh
on Nov 20, 2021
|
parent
|
context
|
favorite
| on:
How to programmatically find out if computer is on
there's a convenient npm package to handle that for you
psyc
on Nov 20, 2021
|
next
[–]
And a separate package by the same prolific author for not_on that depends on the first package.
tobyhinloopen
on Nov 20, 2021
|
parent
|
next
[–]
You really should use onoff.js, which is a wrapper that is more actively maintained and has a typescript support
h2odragon
on Nov 20, 2021
|
prev
|
next
[–]
Yeah but you never know whose computer the result applies to
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: