1.1.1 • Published 8 years ago

active-app-watcher v1.1.1

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

active-app-watcher

Event emitting active window/app watcher

Install

$ npm install active-app-watcher --save

Usage

import ActiveAppWatcher from 'active-app-watcher'

const appWatch = new ActiveAppWatcher()

appWatch.on('error', (err) => {
  console.error(err)
})

appWatch.on('change', (app) => {
  console.log('change', app)
})

appWatch.on('check', (app) => {
  console.log('check', app)
})

appWatch.start()

Related

Licence

MIT © Ben Evans