Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@friedrith/notify
Advanced tools
A easy-to-use command line interface to notify you when a very long terminal process is finished
A easy-to-use command line interface to notify you when a very long terminal process is finished.
$ npm install -g @friedrith/notify
# or with yarn
$ yarn add --global @friedrith/notify
$ <command to wait> ; notify
$ notify -h # for help
You can customize the notification on the fly
$ <command to wait> ; notify --adapter native --message "Customized message"
You can also use a configuration file :
{
"adapter": "native",
"message": "Customized message"
}
By default, notify tries to load configuration file located in /home/<user>/.notify but you can specify the path:
$ <command to wait> ; notify --config <path>
Adapters are the way to display the notification. By default, only the native os notification systems are enabled but you can setup new adapters like Slack for example.
Do not hesitate to propose new adapters like Microsoft team, facebook, sms, etc.
The first step is to create an Slack app on your slack workspace and to authorize incoming webhooks. You should get a webhook url.
Then
$ <command to wait> ; notify --adapter slack --webhook <webhook>
or in your configuration file :
{
"adapter": "slack",
"webhook": "<webhook>"
}
FAQs
A easy-to-use command line interface to notify you when a very long terminal process is finished
We found that @friedrith/notify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.