Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-directus-extension

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-directus-extension

Command line toolkit to help users bootstrap custom Directus extensions

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
294
decreased by-46.06%
Maintainers
1
Weekly downloads
 
Created
Source

create-directus-extension

A command line helper for bootstrapping custom Directus extensions in Typescript and Javascript.

Installation

This package is meant to be used through npx or yarn, for example:

npx create-directus-extension interface my-interface
yarn create-directus-extension display my-display

Usage

The tool accepts two arguments and an optional flag:

npx create-directus-extension <extension-type> <extension-name> [-j]

Here <extension-type> can be any one of the following:

display
interface
layout
module
endpoint
hook

which correspond to the different extensions supported by Directus, as explained here: https://docs.directus.io/concepts/extensions/

<extension-name> can be any name you choose, and will be used to create a directory for the new extension. Then name you give must not conflict with an existing directory or file!

The CLI generates the project with a Typescript template by default. If you would rather develop the project in Javascript, an optional flag of -j or --javascript can be given to the create-directus-extension command.

Keywords

FAQs

Package last updated on 20 Apr 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc