Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
drizzle-prisma-generator
Advanced tools
Automatically generate Drizzle schema from Prisma schema
pnpm add -D drizzle-prisma-generator
generator drizzle {
provider = "drizzle-prisma-generator"
output = "./src/schema.ts"
}
:warning: - if output doesn't end with .ts
, it will be treated like a folder, and schema will be generated to schema.ts
inside of it.
:warning: - binary types in MySQL
, PostgreSQL
are not yet supported by drizzle-orm
, therefore will throw an error.
:warning: - generator only supports postgresql
, mysql
, sqlite
data providers, others will throw an error.
drizzle-orm
: pnpm add drizzle-orm
FAQs
Generate Drizzle schema from Prisma schema
The npm package drizzle-prisma-generator receives a total of 1,984 weekly downloads. As such, drizzle-prisma-generator popularity was classified as popular.
We found that drizzle-prisma-generator 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.