# saasify-faas-sdk

> HTTP client for invoking Saasify FaaS.

Latest version **1.20.0** (published 2020-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install saasify-faas-sdk
pnpm add saasify-faas-sdk
yarn add saasify-faas-sdk
bun add saasify-faas-sdk
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.20.0 |
| Published | 2020-05-31 |
| First published | 2020-03-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 3 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1168 |
| Author | Saasify |
| Maintainers | fisch0920 |
| Keywords | faas, saas, lambda, serverless, deploy, saasify, fts |

## Links

- npm: https://www.npmjs.com/package/saasify-faas-sdk
- Repository: https://github.com/saasify-sh/saasify
- Homepage: https://github.com/saasify-sh/saasify#readme
- Issues: https://github.com/saasify-sh/saasify/issues
- npm.io page: https://npm.io/package/saasify-faas-sdk

## Dependencies (3)

- [qs](https://npm.io/package/qs.md) ^6.9.1
- [axios](https://npm.io/package/axios.md) ^0.19.0
- [content-type](https://npm.io/package/content-type.md) ^1.0.4

## Recent versions

- 1.20.0 (latest) — 2020-05-31
- 1.18.11 — 2020-04-03
- 1.17.4 — 2020-03-25
- 1.17.3 — 2020-03-23
- 1.16.0 — 2020-03-20

## README

<p align="center">
  <a href="https://saasify.sh" title="Saasify">
    <img src="https://raw.githubusercontent.com/saasify-sh/saasify/master/logo-vert-white@4x.png" alt="Saasify Logo" width="256" />
  </a>
</p>

# saasify-faas-sdk

> HTTP client for invoking [Saasify](https://saasify.sh) FaaS.

[![NPM](https://img.shields.io/npm/v/saasify-faas-sdk.svg)](https://www.npmjs.com/package/saasify-faas-sdk) [![Build Status](https://travis-ci.com/saasify-sh/saasify.svg?branch=master)](https://travis-ci.com/saasify-sh/saasify) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save saasify-faas-sdk
```

## Usage

```js
const SaasifySDK = require('saasify-faas-sdk')
const sdk = new SaasifySDK()

const helloWorldUrl = 'https://ssfy.sh/dev/hello-world'

const res = await sdk.post(helloWorldUrl, {
  data: { name: 'Nala' }
})

{
  "body": "Hello Nala!",
  "contentType": "application/json",
  "response": { /* raw axios response */ }
}
```

## TODO

- [ ] use `nock` in unit tests to ensure robustness and enable offline testing
- [ ] change stateful way the auth `token` is currently handled

## License

MIT © [Saasify](https://saasify.sh)

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