You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@elasticprojects/abstract-cli

Package Overview
Dependencies
Maintainers
1
Versions
968
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elasticprojects/abstract-cli

## Installation

0.19.1
Source
npm
Version published
Weekly downloads
2.9K
-48.69%
Maintainers
1
Weekly downloads
 
Created
Source

Abstract CLI

Installation

npm install @elasticprojects/deskapi --save

Usage

const deskapi = require('@elasticprojects/deskapi');
const identity = {
  token: "ABSTRACT_API_TOKEN",
  email: "id@users.abstractapp.com",
  name: "Jenny Tester",
  username: "jenny"
}

deskapi.start('/MyStoreLocation', identity)
.then(() => {
  // You can now perform requests
  deskapi.post(`/pull/${projectId}`, event => {
    console.log(event);
  });
});

deskapi.on('error', err => {
  console.error(err);
});

Development

The javascript component lives in the npm folder, cd inside and install as normal:

npm install

Publishing

New versions will be automatically published when pushed to CI.

$ npm version (major|minor|patch)
$ git push --follow-tags

FAQs

Package last updated on 03 May 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