{"library":"node-notifier-cli","type":"library","category":null,"description":"node-notifier-cli is a command-line interface (CLI) package that provides a convenient way to send cross-platform desktop notifications. It acts as a wrapper around the `node-notifier` library, enabling users to trigger notifications directly from their terminal or shell scripts without writing JavaScript code. It supports various notification systems including macOS Notification Center (since 10.8), Windows Toast notifications, Growl, and `notify-send` for Linux. Version 2.0.0 is the current stable release, with its last major update occurring approximately five years ago. Its release cadence is closely tied to its underlying `node-notifier` library, which provides the core notification functionality. The package differentiates itself from programmatic notification libraries by offering a simple, unified command-line syntax for sending messages, titles, icons, and even opening URLs on click, focusing solely on CLI usability.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","cli","notification center","mac os x 10.8","notify","terminal-notifier","notify-send","growl","windows 8 notification"],"install":[{"cmd":"npm install node-notifier-cli","imports":["notify -t 'Task Complete' -m 'Your build finished successfully!'","npx -p node-notifier-cli notify -t 'Reminder' -m 'Don\\'t forget that meeting at 3 PM!' -s Glass","import { spawn } from 'child_process';\n\nconst title = 'System Alert';\nconst message = 'Disk space low! Cleanup recommended.';\nconst icon = 'https://raw.githubusercontent.com/mikaelbr/node-notifier/master/example/coulson.jpg';\n\nconst child = spawn('notify', ['-t', title, '-m', message, '--icon', icon, '-s', 'Basso']);\n\nchild.on('error', (err) => {\n  console.error('Failed to start notify process:', err.message);\n});\n\nchild.on('close', (code) => {\n  if (code !== 0) {\n    console.warn(`notify process exited with code ${code}`);\n  }\n});"]},{"cmd":"yarn add node-notifier-cli","imports":[]},{"cmd":"pnpm add node-notifier-cli","imports":[]}],"homepage":null,"github":"https://github.com/mikaelbr/node-notifier-cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-notifier-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-notifier-cli/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}