
Security News
Socket Security Analysis Is Now One Click Away on npm
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.
Send notifications over ntfy.sh.
ℹ️ This is a pure ESM module.
Run yarn add ntfy or npm i ntfy.
import {publish} from 'ntfy';
await publish({
message: 'This is an example message.',
topic: 'mytopic',
});
import {publish, MessagePriority} from 'ntfy';
await publish({
actions: [
{
clear: true,
extras: {
cmd: 'pic',
camera: 'front',
},
intent: 'io.heckel.ntfy.USER_ACTION',
label: 'Take picture',
type: 'broadcast',
},
{
body: '{"action": "close"}',
clear: false,
headers: {
Authorization: 'Bearer zAzsx1sk..',
},
label: 'Close door',
method: 'PUT',
type: 'http',
url: 'https://api.mygarage.lan',
},
{
clear: true,
label: 'Open portal',
type: 'view',
url: 'https://api.nest.com/',
},
],
authorization: {
password: 'my-password',
username: 'my-username',
},
clickURL: 'https://github.com/ffflorian/',
delay: '1m',
disableCache: true,
disableFirebase: true,
emailAddress: 'name@example.com',
iconURL: 'https://avatars.githubusercontent.com/ffflorian',
message: 'Remote access to device detected. Act right away.',
priority: MessagePriority.MAX,
server: 'https://ntfy.custom',
tags: ['warning', 'skull'],
title: 'Unauthorized access detected',
topic: 'mytopic',
});
import {NtfyClient} from 'ntfy';
const ntfyClient = new NtfyClient('https://ntfy.custom');
await ntfyClient.publish({ ... });
await ntfyClient.publish({ ... });
FAQs
Send notifications over ntfy.sh.
The npm package ntfy receives a total of 142 weekly downloads. As such, ntfy popularity was classified as not popular.
We found that ntfy demonstrated a healthy version release cadence and project activity because the last version was released less than 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
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.