1.0.10 • Published 5 years ago

monindex v1.0.10

Weekly downloads
22
License
MIT
Repository
-
Last release
5 years ago

Mongoose Index Creation Process

Simple package that will auto-generate the index file for the Schemas needed on Mongoose.

npm install command:

npm install monindex -G 

By default the code will look for the models in your root file structure. You can designate the folder where you have stored your Schema files by adding the path to the argument.

Examples to execute call in the terminal

create index.js in the models folder in the root directory
monindex

create index.js in the schema folder in the root directory
monindex ./schema

create index.js in the schema folder in a folder called db in root directory
monindex ./db/schema
1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago