
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@ttoss/postgresdb-cli
Advanced tools
A library to handle PostgreSQL database actions through the command line
This package provides a CLI to interact with a PostgreSQL database using the sequelize library.
pnpm add -D @ttoss/postgresdb-cli
First, you need to create define the db object in your project using the @ttoss/postgresdb package. Check @ttoss/postgresdb documentation for more information. The CLI will use this object to load the models and interact with the database.
Second, you need to define the following environment variables to connect to the database:
DB_NAME: database nameDB_USERNAME: database usernameDB_PASSWORD: database passwordDB_HOST: database hostDB_PORT: database port. Default: 5432To sync the database schema with the models, you can use the sync command:
pnpm dlx @ttoss/postgresdb-cli sync
--db-path or -d: Path to the file where the db object is defined. Default: ./src/db.js.--alter: Alter the database schema to match the models. Default: false.To generate an ERD of the database, you can use the erd command:
pnpm dlx @ttoss/postgresdb-cli erd
--db-path or -d: Path to the file where the db object is defined. Default: ./src/db.js.FAQs
A library to handle PostgreSQL database actions through the command line
The npm package @ttoss/postgresdb-cli receives a total of 181 weekly downloads. As such, @ttoss/postgresdb-cli popularity was classified as not popular.
We found that @ttoss/postgresdb-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.