display notification on macOS desktop
display notification on macOS desktop
npm install --save baboop
Will display a macOS notification with the name ls -alh
once the ls
command finished running:
npx baboop ls -alh
import { runCommandAndNotify } from 'baboop'
async function init() {
const commandToRun = 'ls -alh';
const result = await runCommandAndNotify(commandToRun)
}
init();
// will display a macOS notification with the name `ls -alh`
// once the `ls` command finished running
Please consult CONTRIBUTING for guidelines on contributing to this project.
baboop © Liran Tal, Released under the Apache-2.0 License.