@staticdeploy/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.15.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @staticdeploy/sdk

Weekly Downloads

256

Version

0.15.5

License

MIT

Unpacked Size

54.4 kB

Total Files

69

Last publish

Collaborators

  • staticdeploy-npm-bot
  • pscanf
  • davidebianchi