Skip to content

Converts models from sequelize auto to a format expected by hapi-sequelizejs

License

Notifications You must be signed in to change notification settings

gary-x0pa/sequelize-auto2hapi-sequelizejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequelize auto to hapi-sequelizejs converter

This application converts models generated by sequelize auto to models accepted by hapi-sequelizejs.

Installation

npm install https://github.com/gary-x0pa/sequelize-auto2hapi-sequelizejs.git

Or use npx (see below)

Running

hapiconvert --help

Alternatively you can use npx to avoid adding dependency

npx github:gary-x0pa/sequelize-auto2hapi-sequelizejs --help

This commands show you the arguments on how to use the script

This application converts models generated by sequelize auto to models accepted by hapi-sequelizejs

Options:
  -V, --version              output the version number
  -i, --input <inputPath>    input path for models generated from sequelize auto. (default: "./models")
  -o, --output <outputPath>  output path for models converted to use with hapi sequelize js. (default: "./convertedModels")
  -h, --help                 display help for command

About

Converts models from sequelize auto to a format expected by hapi-sequelizejs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published