Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

growl

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

growl

Growl unobtrusive notifications

  • 1.7.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.1M
increased by98.67%
Maintainers
1
Weekly downloads
 
Created

What is growl?

The growl npm package allows for sending notifications to the desktop environment from a Node.js application. It works across different operating systems, providing a simple way to display alerts, information, or errors directly to the user's desktop.

What are growl's main functionalities?

Basic Notification

This code sends a basic notification with the message 'Hello World' to the user's desktop. It's the simplest form of notification, showcasing the ease of use of the growl package.

require('growl')('Hello World');

Notification with Title

This example demonstrates how to send a notification that includes a title. The title helps to provide context or categorize the notification.

require('growl')('Message with title', { title: 'Notification Title' });

Notification with Options

This code snippet shows how to send a notification with additional options. In this case, the notification is made sticky, meaning it will remain visible until the user interacts with it, and it's labeled as 'Reminder'.

require('growl')('Sticky notification', { sticky: true, label: 'Reminder' });

Other packages similar to growl

FAQs

Package last updated on 30 Dec 2012

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