🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

escher-suiteapi-js

Package Overview
Dependencies
Maintainers
7
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escher-suiteapi-js

Escher Suite Api js

17.0.0
latest
Source
npm
Version published
Weekly downloads
93
25.68%
Maintainers
7
Weekly downloads
 
Created
Source

Escher Suite API client for JavaScript

Dependency Status devDependency Status

Usage

const SuiteRequest = require('escher-suiteapi-js');

const options = new SuiteRequest.Options('example.host.com', {
  credentialScope: 'eu/service/ems_request'
});
const suiteRequest = SuiteRequest.create('escher.key', 'escher.secret', options);

const heroId = 1;
let response = await suiteRequest.get(`/heroes/${heroId}`);
console.log(response);

let response = await suiteRequest.post('/heroes', {
  name: 'Captain America',
  sex: 'male'
});
console.log(response);

Keywords

escher

FAQs

Package last updated on 19 Aug 2022

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