New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@strapi/generators

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strapi/generators

Interactive API generator.

  • 0.0.0-experimental.8e4302929d7fe147203ed0266450d0a565c69660
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
137K
increased by1.1%
Maintainers
8
Weekly downloads
 
Created

@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

FAQs

Package last updated on 29 Jan 2025

Did you know?

Socket

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.

Install

Related posts