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

@pipcook/create-pipcook-plugin

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pipcook/create-pipcook-plugin

Create plugin for Pipcook in only one command.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
5
Weekly downloads
 
Created
Source

@pipcook/create-pipcook-plugin

Create plugin for Pipcook in only one command via npm-init.

Getting started

The are many ways to create a plugin for Pipcook.

# via NPM
$ npm init @pipcook/pipcook-plugin --category data-collect my-plugin

# via Pipcook
$ pipcook plugin create my-plugin --category data-collect

To create a TypeScript(default) plugin:

$ npm init @pipcook/pipcook-plugin my-plugin

To create a plugin with its category:

$ npm init @pipcook/pipcook-plugin --category data-collect my-plugin

Supported categories of plugin are:

  • data-collect
  • data-access
  • data-process
  • model-define
  • model-train
  • model-evaluate

To create a Python plugin:

$ npm init @pipcook/create-pipcook-plugin --python

How to write a template for new plugin

  1. create a directory at ./templates, and name in v1-default-${plugin-category}.
  2. create an index.ts under created template directory, and write the template there.
  3. submit a Pull Request to this repository.

To debug the new plugin template, we could use npx command:

$ npm link
$ npx @pipcook/create-pipcook-plugin foobar --category new-category

License

MIT.

Keywords

FAQs

Package last updated on 08 Dec 2020

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