1.0.0 • Published 3 years ago

wox-ts v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

This is a light TypeScript wrapper around Wox.

Implement a handler by implementing interface IWoxQueryHandler, then instantiate and run a processor using:

const processor = new WoxQueryProcessor(handler, logger);
processor.processFromCommandLineAsync(process.argv)
  .then(() => { })
  .catch((err) => {
    console.error("Failed execution: ", err)
    return -1
  })

See the Wox adapter for Microsoft Graph for an example