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

growly

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

growly

Simple zero-dependency Growl notifications using GNTP.

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.6M
decreased by-47.47%
Maintainers
1
Weekly downloads
 
Created

What is growly?

The growly npm package allows for sending system notifications using the Growl notification system, which was originally developed for macOS but has implementations available for other platforms. It interfaces with Growl's GNTP (Growl Notification Transport Protocol) to create and manage notifications.

What are growly's main functionalities?

Basic Notification

This feature allows you to send a basic notification with a message and an optional title.

const growly = require('growly');
growly.notify('Message text', { title: 'Notification Title' });

Notification with Callback

This feature allows you to send a notification that can handle a user's click action through a callback function.

const growly = require('growly');
growly.notify('Click me!', { title: 'Clickable' }, function(err, action) {
  console.log('Notification was clicked!');
});

Notification with Custom Icon

This feature allows you to send a notification with a custom icon by specifying the path to the icon image.

const growly = require('growly');
growly.notify('Custom icon!', { title: 'Icon', icon: 'path/to/icon.png' });

Sticky Notification

This feature allows you to send a sticky notification that will remain on the screen until the user interacts with it.

const growly = require('growly');
growly.notify('Sticky message', { title: 'Sticky', sticky: true });

Other packages similar to growly

Keywords

FAQs

Package last updated on 26 Mar 2016

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