
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
danielb.db
Advanced tools
npm install danielb.db
const db = require('danielb.db')
db.set('test', 'test') //set key as string => test
db.add('test1', 1) // add number to key (if key dont exites the key will be the number) => 1
db.remove('test1', 1) // remove number to key (if key dont exites the key will be 0) => 0
db.subtract('test1', 1) // remove number to key (if key dont exites the key will be 0) => 0
db.math('test1', 5, '*') // use another operator (in the example its multiplier) => 5
db.all() // get all keys and values in the databse in array => [{ ID: 'test1', data: 1}, { ID: 'test', data: 'test' }]
db.getAll() // get all keys and values in the databse in array => [{ ID: 'test1', data: 1}, { ID: 'test', data: 'test' }]
db.fetchAll() // get all keys and values in the databse in array => [{ ID: 'test1', data: 1}, { ID: 'test', data: 'test' }]
db.toJson() // get all keys and values in the databse in json => {'test1': 1, 'test': 'test' }
db.size() // return number of keys in the database => 2
db.backup() // backup all database in new file => true
db.deleteAll() // delete all keys and values in the database => true
db.clear()// delete all keys and values in the database => true
db.delete('test') // delete key in the database => true
db.del('test') // delete key in the database => true
db.get('test') // get key in the database => 'test'
db.fetch('test') // get key in the database => 'test'
db.has('test') // check if key exites in the databse => true
db.exists('test') // check if key exites in the databse => true
db.includes('test') // check if key exites in the databse => true
db.type('test') // get type of key in the database => string
db.typeof('test') // get type of key in the database => string
const Discord = require("discord.js");
const client = new Discord.Client({ intents: Object.keys(Discord.Intents.FLAGS) });
const db = require("danielb.db");
client.on("ready", () => {
console.log(`Logged in as ${client.user.tag}`);
});
client.login("TOKEN");
FAQs
A complete and easy database of better-sqlite3 for discord.
The npm package danielb.db receives a total of 6 weekly downloads. As such, danielb.db popularity was classified as not popular.
We found that danielb.db 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.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.