JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q29620F
  • License ISC

wakes up computer(s) on LAN, keeps a list of computers handy

Package Exports

  • wakey

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wakey) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

command line utility to wake up computer(s) on LAN from sleep. It keeps a list of computers so you don't have to remember the MAC addresses.

Usage

npm install -g wakey to install wakey and make 'wakey' available as a command line tool:

  • wakey help - displays help
  • wakey list - list all computer entries saved in the wakey database, which is a JSON file stored at ~/wakey.json
  • wakey add <name> <MAC> - adds an entry to the database
  • wakey delete <name> - deletes an entry from the database
  • wakey <name> - wakes up a computer

Note

The target computer(s) need to be configured to enable the Wake on LAN feature. This StackExchange page provides some information on how to configure it. https://superuser.com/questions/696894/rdp-wake-on-lan-in-lan-environment

Example

Assume the computer you want to wake up has MAC address of 12:34:56:78:AB:CD, and is already configured to wake on LAN.

# install wakey
npm install -g wakey

# add the target to wakey database
wakey add my-comp1 12:34:56:78:AB:CD

# wake up the target
wakey my-comp1
... wakey sends the wake packet to wake up the computer ...