1.2.1 • Published 8 years ago

apple-system-listener v1.2.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

apple system listener

Event emitter that, through a pair of subprocesses, reports sleep, wake, shutdown, boot, user active, and user idle.

The constructor takes an integer which is how many lines to go back when running syslog -w [lines-back] under the hood.

example

var AppleSysListener = require('apple-system-listener');

AppleSysListener(9000).on('event', function(event) {
  console.log(event);
});
1.2.1

8 years ago

1.2.0

8 years ago

1.0.1

8 years ago

1.1.0

9 years ago

1.0.0

9 years ago