
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@nartisan/cli
Advanced tools
The Nartisan Sequelize API Command Line Interface (CLI) is a wrapper around the Sequelize-CLI.
Nartisan started as boilerplate project for a node/express api. We then decided to enhance this project even more. We're now enhancing the Sequelize-CLI, enhanced the model generation feature with associations, youre creating models now with the command
$ nartisan model:generate --name Profile --attributes "name:[type:string],email:[type:string, unique:true]"
For adding associations/relations you can append --associations
$ --associations belongsTo:User,belongsToMany:Cars
Nartisan enhances the Sequelize-CLI with some new features for model generation, api routes, controllers. It has already included a authentication and authorization system (Using JWT). With secure http coookies. Everything you need to start your new express api sequelize project with just one command. nartisan init( aliases: create|new)
Nartisan can be installed globally via
$ npm install -g nartisan
Please don't use npx because it will not work with npx, need to look into this problem.
And then you should be able to run the CLI with
$ nartisan
Nartisan CLI [Node: 10.15.0, CLI: 1.0.0, ORM: 5.11.0]
nartisan [command]
Commands:
nartisan init name Inits project from boilerplate in current folder[aliases: create, new]
nartisan init:dotenv Initializes a new .env file [aliases: init:env]
nartisan init:config Initializes configuration
nartisan init:migrations Initializes migrations
nartisan init:models Initializes models
nartisan init:seeders Initializes seeders
nartisan db:migrate Run pending migrations
nartisan db:migrate:schema:timestamps:add Update migration table to have timestamps
nartisan db:migrate:status List the status of all migrations
nartisan db:migrate:undo Reverts a migration
nartisan db:migrate:undo:all Revert all migrations ran
nartisan db:seed Run specified seeder
nartisan db:seed:undo Deletes data from the database
nartisan db:seed:all Run every seeder
nartisan db:seed:undo:all Deletes data from the database
nartisan db:create Create database specified by configuration
nartisan db:drop Drop database specified by configuration
nartisan migration:generate Generates a new migration file [aliases: migration:create]
nartisan model:generate Generates a model and its migration [aliases: model:create]
nartisan seed:generate Generates a new seed file [aliases: seed:create]
nartisan controller:generate Generates a new controller [aliases: controller:create]
nartisan route:generate Generates a new route for model [aliases: route:create]
nartisan serve Starts the nartisan project [aliases: start, run]
Options:
--version Show version number [boolean]
--help Show help [boolean]
Nartisan is always looking for contributions. You can help us by fixing bugs, reporting bugs or improving documentation.
FAQs
Nartisan Wrapper for Sequelize & Node Express API CLI
The npm package @nartisan/cli receives a total of 11 weekly downloads. As such, @nartisan/cli popularity was classified as not popular.
We found that @nartisan/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.