🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
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

Source
npmnpm
Version
0.11.1
Version published
Weekly downloads
214
10.31%
Maintainers
3
Weekly downloads
 
Created
Source

@staticdeploy/sdk

Browser and nodejs SDK for the StaticDeploy AP.

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);

Contributing

See CONTRIBUTING.md.

FAQs

Package last updated on 17 Jan 2019

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