notife
v1.0.3
Published
A system notification tool for any OS.
Downloads
25
Maintainers
Readme
Notife is a command-line tool for displaying notifications on different operating systems. It's useful for notifying you when a long-running command has completed.
Installation
Global installation:
npm install notife -g
Or local installation in your project:
npm install notife -save-dev
Usage
After installation, you can use the notife
command from any directory or npm-command. Here's an example:
npx notife 'Hello World'
Add to the command in package.json:
{
"scripts": {
...
"build": "webpack --config webpack.config.js && npx notife 'Build complete!'"
...
}
}
This will display a notification with the message after the build is complete.
Supported Operating Systems
- macOS: Uses
osascript
to display native notifications. - Linux: Uses
notify-send
to display notifications. Make sure it's installed on your system. - Windows: Uses
powershell.exe
to display notifications. Ensure PowerShell is available.
Contributing
Thank you for considering contributing to Notife! Your contributions help make this project better for everyone.
Issues
If you find a bug, have a suggestion, or want to request a new feature, please open an issue on the GitHub repository to discuss it.
Pull Requests
If you'd like to contribute code to Notife, please follow these steps:
Fork the Notife repository on GitHub.
Clone your forked repository to your local machine.
Create a new branch for your changes.
Make your changes, add tests if applicable, and ensure the existing tests pass.
Commit your changes and push your changes.
Open a pull request on the Notife repository and describe your changes and improvements. Your pull request will be reviewed, and once approved, it will be merged into the project!
License
This project is licensed under the MIT License.