install sequelize code example
Example 1: install sequelize cli
npm install --save-dev sequelize-cli
Example 2: sequelize sqlite example
const sequelize = new Sequelize('database', 'username', 'password', {
dialect: 'sqlite',
storage: 'path/to/database.sqlite' // or ':memory:'
dialectOptions: {
// Your sqlite3 options here
}
});