
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@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 61 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.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.