0.1.10 • Published 22 days ago

@cloudquery/plugin-sdk-javascript v0.1.10

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
22 days ago

CloudQuery Plugin SDK for JavaScript

This is the high-level package to use for developing CloudQuery plugins in JavaScript.

Prerequisites

Node.js 20 or higher. Install Node.js from here.

Setup

Install dependencies

npm ci

Build

npm run build

Test

npm test

Start a local memory based plugin server

npm run dev -- serve

Package as a Docker image

npm run dev -- package -m test "v1.0.0" . --dist-dir dist-dir

Formatting and Linting

# This is just to check if the code is formatted
npm run format:check

# Automatically format code
npm run format

# Lint
npm run lint