# escher-suiteapi-js

> Escher Suite Api js

Latest version **17.0.0** (published 2022-08-19) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install escher-suiteapi-js
pnpm add escher-suiteapi-js
yarn add escher-suiteapi-js
bun add escher-suiteapi-js
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 17.0.0 |
| Published | 2022-08-19 |
| First published | 2015-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14.0.0 |
| Dependencies | 3 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | blacksonic, boogie, gergelyke, sviktor, draven, felin.arch, emarsys-deployer |
| Keywords | escher |

## Links

- npm: https://www.npmjs.com/package/escher-suiteapi-js
- Repository: https://github.com/emartech/escher-suiteapi-js
- Issues: https://github.com/emartech/escher-suiteapi-js/issues
- npm.io page: https://npm.io/package/escher-suiteapi-js

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) 0.27.2
- [escher-auth](https://npm.io/package/escher-auth.md) 3.2.4
- [@emartech/json-logger](https://npm.io/package/@emartech/json-logger.md) 4.0.1

## Recent versions

- 17.0.0 (latest) — 2022-08-19
- 16.2.0 — 2022-05-13
- 16.1.0 — 2022-02-17
- 16.0.0 — 2022-02-08
- 15.0.5 — 2022-01-31
- 15.0.4 — 2022-01-20
- 15.0.3 — 2022-01-20
- 15.0.2 — 2021-09-09
- 15.0.1 — 2021-09-06
- 15.0.0 — 2021-03-10
- 14.1.0 — 2020-09-11
- 14.0.1 — 2019-06-07
- 14.0.0 — 2018-12-07
- 13.0.0 — 2018-10-30
- 12.3.0 — 2018-10-26
- … 48 more at https://npm.io/package/escher-suiteapi-js/versions

## README

# Escher Suite API client for JavaScript
[![Dependency Status](https://david-dm.org/emartech/escher-suiteapi-js.svg)](https://david-dm.org/emartech/escher-suiteapi-js)
[![devDependency Status](https://david-dm.org/emartech/escher-suiteapi-js/dev-status.svg)](https://david-dm.org/emartech/escher-suiteapi-js#info=devDependencies)

## Usage

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

---
_Source: https://npm.io/package/escher-suiteapi-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
