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
- Host: GitHub
- URL: https://github.com/neo-ciber94/drizzle-init
- Owner: Neo-Ciber94
- License: mit
- Created: 2024-04-24T02:15:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-28T01:43:19.000Z (over 1 year ago)
- Last Synced: 2024-12-28T12:30:47.223Z (9 months ago)
- Language: TypeScript
- Size: 157 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Drizzle init-project
[](https://github.com/Neo-Ciber94/drizzle-init/actions/workflows/ci.yml)
[](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
```