Skip to main content

Installation

To get started install the package:

$ yarn add @pebula/goosetyped
info

GooseTyped requires mongoose and it's pre-requisites installed, it does not install them for you.

Now, just start defining models using the tools provided by GooseTyped.

By default, all models are attached to the default mongoose connection but you can assign models to a specific connection which is also how you can implement deffered model compilation, more on this in future chapters...