Drizzle

Headless ORM for NodeJS, TypeScript and JavaScript

Environments: svelte ❌ kit ✅
npx svelte-add@latest drizzle
Documentation
drizzle,drizzle-orm,drizzle-kit,database,orm

Configurator

You can select one or multiple adders and we will ask you questions for each adder. At the end we generate one cli command for you, that you can execute in your project. Otherwise you can use the cli interactively.

Drizzle
Which database would you like to use?
Which PostgreSQL client would you like to use?
Which MySQL client would you like to use?
Which SQLite client would you like to use?
Do you want to run the database locally with docker-compose?

npx svelte-add@latest drizzle --database sqlite --postgresql postgres.js --mysql mysql2 --sqlite better-sqlite3 --docker false
There is a number of options that apply for all adders, that you can add as you like:
  • --default (default: false) Installs default adder options for unspecified options
  • --path (default: ./) Path to working directory
  • --skip-preconditions (default: false) Skips validating preconditions before running the adder
  • --skip-install (default: false) Skips installing dependencies after applying the adder