
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
multi-db-cli
Advanced tools
🚀 A CLI tool for managing multiple databases with ease.
👨💻 Developed by Omindu Dissanayaka
🚀 A CLI tool for managing multiple databases with ease.
To install multi-db-cli
, run the following command:
npm install -g multi-db-cli
Use the following commands to interact with your databases:
To create a new project and configure a database, use:
multi-db create <project-name> <db-name>
Replace <project-name>
with the desired project name and <db-name>
with the database name (e.g., mongodb
, mysql
, postgresql
, etc.).
To import an existing database configuration, use:
multi-db import <db-name>
Replace <db-name>
with the database name for which you want to import the configuration.
Your database configurations should be set up in the lib/config.js
file. The configuration format varies based on the database:
{
mongodb: {
uri: 'mongodb://localhost:27017'
},
mysql: {
host: 'localhost',
user: 'root',
database: 'test'
},
postgresql: {
host: 'localhost',
user: 'postgres',
database: 'test',
password: 'password'
},
oracle: {
user: 'oracle_user',
password: 'oracle_password',
connectString: 'localhost/XEPDB1'
},
redis: {
host: 'localhost',
port: 6379
},
arango: {
url: 'http://localhost:8529'
},
sqlite: {
file: './database.db'
},
dynamodb: {
region: 'us-west-2'
}
}
Developed by Omindu Dissanayaka 🌟
FAQs
CLI for managing multiple databases
The npm package multi-db-cli receives a total of 2 weekly downloads. As such, multi-db-cli popularity was classified as not popular.
We found that multi-db-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.