# sequelize-typescript-auto

> generate sequelize-typescript models from database

Latest version **0.0.3** (published 2020-02-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install sequelize-typescript-auto
pnpm add sequelize-typescript-auto
yarn add sequelize-typescript-auto
bun add sequelize-typescript-auto
```

Provides the command `sequelize-typescript-auto`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-02-10 |
| First published | 2020-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 10 KB |
| Known vulnerabilities | 0 (+12 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Johnson |
| Maintainers | joenlee |
| Keywords | sequelize, sequelize-typescript, model, database |

## Links

- npm: https://www.npmjs.com/package/sequelize-typescript-auto
- Repository: https://github.com/YES-Lee/sequelize-typescript-auto
- Homepage: https://github.com/YES-Lee/sequelize-typescript-auto#readme
- Issues: https://github.com/YES-Lee/sequelize-typescript-auto/issues
- npm.io page: https://npm.io/package/sequelize-typescript-auto

## Dependencies (8)

- [ora](https://npm.io/package/ora.md) ^4.0.3
- [async](https://npm.io/package/async.md) ^3.1.1
- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [mysql2](https://npm.io/package/mysql2.md) ^2.1.0
- [camelcase](https://npm.io/package/camelcase.md) ^5.3.1
- [commander](https://npm.io/package/commander.md) ^4.1.1
- [sequelize](https://npm.io/package/sequelize.md) ^5.21.3

## Alternatives

- [@libsql/sqlite3](https://npm.io/package/@libsql/sqlite3.md) — 39.8K weekly downloads
- [@fortemi/core](https://npm.io/package/@fortemi/core.md) — 461 weekly downloads
- [cdb-converter](https://npm.io/package/cdb-converter.md) — 341 weekly downloads
- [@uplo/adapter-prisma](https://npm.io/package/@uplo/adapter-prisma.md) — 75 weekly downloads
- [typeorm-aios](https://npm.io/package/typeorm-aios.md) — 30 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2020-02-10
- 0.0.1 — 2020-02-10

## README

# sequelize-typescript-auto

Automatically generate models for sequelize-typescript

## install

```bash
npm i -g sequelize-typescript-auto
```

## use

```text
Usage: sequelize-typescript-auto [options]

Options:
  -V, --version              output the version number
  -H, --host <host>          database host
  -d, --database <database>  name of database
  -u, --username <username>  user of database
  -x, --password <password>  password of database
  -p, --port <port>          port of database, default 3306 (default: 3306)
  -o, --output <dir>         models output dir (default: "./models")
  -f, --prefix <prefix>      to exclude table prefix (default: "")
  -h, --help                 output usage information
```

## example

```bash
sequelize-typescript-auto -H localhost -d test -u root -x 123456 -p 3306 -f test_ -o ./_models
```

---
_Source: https://npm.io/package/sequelize-typescript-auto · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
