New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@friedrith/notify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@friedrith/notify

A easy-to-use command line interface to notify you when a very long terminal process is finished

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

notify

A easy-to-use command line interface to notify you when a very long terminal process is finished.

How to install

$ npm install -g @friedrith/notify

# or with yarn
$ yarn add --global @friedrith/notify

How to use?

$ <command to wait> ; notify

$ notify -h # for help

How to configure?

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

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.

Slack

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

Package last updated on 13 Sep 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc