
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
antiCrash is a npm package that helps prevent bot termination due to Uncaught/Unhandled errors made by your code.
You can use it by simply doing the steps below.
Requirements
NodeJS
: 16.6.0 and up (for DiscordJS v13)
DiscordJS
: v13.8.0 (for v13) v12.5.3 (for v12)
Installation
npm i anticrash@latest
If you do not have discordjs, read below:
for v13 npm i discord.js@13.8.0
for v12 npm i discord.js@12.5.3
Type this in your main file
const antiCrash = require('anticrash')
const noCrashing = new antiCrash(client, {
enableAntiCrash: 'true/false'
});
Examples
const Discord = require("discord.js");
const client = new Discord.Client();
const antiCrash = require('anticrash')
const noCrash = new antiCrash(client, {
enableAntiCrash: 'true'
});
client.login("token")
const Discord = require("discord.js");
const client = new Discord.Client(
{intents:
[/**your intents*/]
});
const antiCrash = require('anticrash')
const noCrash = new antiCrash(client, {
enableAntiCrash: 'true'
});
client.login("token")
$ npm i anticrash
const client = new Discord.Client({ intents: [Intents] });
const { ReplitKill } = require('anticrash');
ReplitKill({ Client: client, Time: 5000 });
FAQs
<img src="https://img.shields.io/npm/dt/anticrash" alt="NPM download
The npm package anticrash receives a total of 3 weekly downloads. As such, anticrash popularity was classified as not popular.
We found that anticrash demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.