DEV Community 👩‍💻👨‍💻

Sugam Karki
Sugam Karki

Posted on

How to create ormconfig.{json/yml} for Typeorm for all kinds of database with just one command!!

Tired of copying and pasting the contents of ormconfig.json every time you create a project??

Just run,

npx ormconfig.json

and with just one command, you can create ormconfig file for PostgreSQL, MongoDB, and MySQL.

On top of that, you can choose between yml and json extension.

Link To The Package

Top comments (0)

Regex for lazy developers

regex for lazy devs

You know who you are. Sorry for the callout 😆