An open API service indexing awesome lists of open source software.

https://github.com/neo-ciber94/drizzle-init

Include drizzle ORM to your existing project
https://github.com/neo-ciber94/drizzle-init

Last synced: 6 months ago
JSON representation

Include drizzle ORM to your existing project

Awesome Lists containing this project

README

          

# Drizzle init-project

[![CI](https://github.com/Neo-Ciber94/drizzle-init/actions/workflows/ci.yml/badge.svg)](https://github.com/Neo-Ciber94/drizzle-init/actions/workflows/ci.yml)
[![npm version](https://badge.fury.io/js/create-drizzle-project.svg)](https://badge.fury.io/js/create-drizzle-project)

Initialize a project with drizzle-orm.

```bash
npm init drizzle-project@latest
```

## Usage

```text
Usage: create-drizzle-project [options]

Initialize drizzle-orm in a project

Options:
-V, --version output the version number
-d, --driver Database driver to use (mysql, postgres, sqlite)
-p, --dbProvider Database provider to use
-c, --configType Drizzle config file type (typescript, javascript)
-m, --migrateFile Migration file path
-o, --outDir Output directory (default: "./drizzle")
-b, --databaseDir Directory for the database and schema files
-i, --install Whether if install the dependencies
--no-install No install dependencies
-h, --help display help for command
```