Socket
Book a DemoInstallSign in
Socket

@strapi/generators

Package Overview
Dependencies
Maintainers
7
Versions
1908
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strapi/generators

Interactive API generator.

0.0.0-8581854cb3
Source
npmnpm
Version published
Weekly downloads
137K
6.62%
Maintainers
7
Weekly downloads
 
Created
Source

@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

Keywords

strapi

FAQs

Package last updated on 10 Aug 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.