@brunocroh/notify-me
v1.1.0
Published
notify on your computer when you want
Maintainers
Readme
Installation
npm install @brunocroh/notify-methen, you can create notification from your code like this:
import NotifyMe from "@brunocroh/notify-me";
NotifyMe.notify("Hello", "Something happen here", {
sound: true,
});use it from your terminal
npm install -g @brunocroh/notify-methen
$ notify-meUsage on Terminal
Running on terminal
A simple notification
$ notify-me
Change title and description of notification
$ notify-me -t "Title" -d "Description"
running after other program finished
$ pnpm install && notify-me -t "pnpm install" -d "Finished"
running after other program finished with sound
$ pnpm install && notify-me -t "pnpm install" -d "Finished" -sInside of your node project
import NotifyMe from "@brunocroh/notify-me";
const SomethingThatTookAlotOfTime = async () => {
// code here
};
const main = async () => {
await SomethingThatTookAlotOfTime();
NotifyMe.notify("Hello", "Something happen here", {
sound: true,
});
};