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

@ish-cd/api-client

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ish-cd/api-client

JavaScript API client for Ish - Continuous Delivery.

  • 1.0.0-alpha.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Ish CD API Client (JavaScript)

A JavaScript API client for Ish - Continuous Delivery. Client-side and server-side compatible.

Travis build status Code Climate Test Coverage Dependency Status devDependency Status

Installation

npm install @ish-cd/api-client --save

Usage

// Instantiate the API client using an API token from an environment variable.
var clientIsh = require('@ish-cd/api-client'),
    client = new clientIsh(process.env.ISH_CD_API_TOKEN);

// Queue a run of the "backup-prod" job on the "my-corp" project.
var runQueued = client.projects('my-corp').jobs('backup-prod').runs().create();

// All actions return promises--you can react to them like this.
runQueued.then(function onceQueued(run) {
  console.log(run);
});

FAQs

Package last updated on 20 Jun 2018

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