Socket
Book a DemoInstallSign in
Socket

@staticdeploy/sdk

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@staticdeploy/sdk

Browser and nodejs sdk for the StaticDeploy API

latest
Source
npmnpm
Version
0.15.5
Version published
Weekly downloads
185
105.56%
Maintainers
3
Weekly downloads
 
Created
Source

@staticdeploy/sdk

Browser and nodejs SDK for the StaticDeploy API.

Install

yarn add @staticdeploy/sdk

Quickstart

import StaticdeployClient from "@staticdeploy/sdk";

const client = new StaticdeployClient({
  apiUrl: process.env.STATICDEPLOY_API_URL,
  apiToken: process.env.STATICDEPLOY_API_TOKEN
});

/* In some async function... */

const apps = await client.apps.getAll();
console.log(apps);

const createdApp = await client.apps.create({ name: "my-app" });
console.log(createdApp);

FAQs

Package last updated on 14 Dec 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