@strapi/generators
TypeScript icon, indicating that this package has built-in type declarations

4.23.1 • Public • Published

@strapi/generators

This package contains strapi code generators available through the CLI or programmatically.

API Reference

runCLI()

Start the generator CLI.

generate(generatorName, options, plopOptions)

Execute a generator without interactive mode.

  • generatorName - one of api, controller, service, model, plugin, policy.
  • options - options are specific to each generator
  • plopOtions
    • dir: base directory that plop will use as base directory for its actions

Readme

Keywords

Package Sidebar

Install

npm i @strapi/generators

Homepage

strapi.io

Weekly Downloads

94,885

Version

4.23.1

License

SEE LICENSE IN LICENSE

Unpacked Size

160 kB

Total Files

134

Last publish

Collaborators

  • tdfka_rick
  • markkaylor
  • marc-roig-strapi
  • lauriejim
  • pierreburgy
  • aurelsicoko
  • alexandrebodin
  • convly