Nanananananananana.. Pat Man!
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    active-app-watcherpublic

    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

    • active-app - Detect the active window/application

    Licence

    MIT © Ben Evans

    install

    npm i active-app-watcher

    Downloadsweekly downloads

    3

    version

    1.1.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar