
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@patu/api-discord-message
Advanced tools
``` TOKEN= CHANNEL_ID= PORT= npx @patu/api-discord-message ```
TOKEN= CHANNEL_ID= PORT= npx @patu/api-discord-message
Provide values with envs .env
CHANNEL_ID=
TOKEN=
PORT=
then call start
import { start } from "notifier"
start().catch(e => {
console.error(e);
});
or pass values directly to start
:
import { start } from "notifier"
start({
channelId: "",
token: "",
port: 9999
}).catch(e => {
console.error(e);
});
Send message:
curl -X POST \
'http://0.0.0.0:9999' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data-raw '{
"message": "Test message"
}'
FAQs
``` TOKEN= CHANNEL_ID= PORT= npx @patu/api-discord-message ```
The npm package @patu/api-discord-message receives a total of 1 weekly downloads. As such, @patu/api-discord-message popularity was classified as not popular.
We found that @patu/api-discord-message 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.