# ayoba-api-mock

> This allow users to have a mock api end points

Latest version **1.1.3** (published 2021-08-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install ayoba-api-mock
pnpm add ayoba-api-mock
yarn add ayoba-api-mock
bun add ayoba-api-mock
```

## 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.1.3 |
| Published | 2021-08-05 |
| First published | 2021-08-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | caiphus |
| Maintainers | caiphus |

## Links

- npm: https://www.npmjs.com/package/ayoba-api-mock
- npm.io page: https://npm.io/package/ayoba-api-mock

## Recent versions

- 1.1.3 (latest) — 2021-08-05
- 1.1.2 — 2021-08-05
- 1.1.1 — 2021-08-05
- 1.1.0 — 2021-08-05
- 1.0.0 — 2021-08-04

## README

# AYOBA API MOCK

This module mock the request of ayoba microApp api's endpoint response.

## To use this module on Vanilla javascript.

### 1.Create another directory:

-mkdir <"directory_name">

### 2.Switch into the directory:

-cd <"directory_name">

### 3.Create your script eg: index.js:
```js
    const ayoba = require('ayoba-api-mock');

    getSelfJid(){
        return ayoba.getSelfJid();
    }
    
```

### 4.Create the index.js node project:

-npm init

### 5.Install ayoba-api-mock module:

-npm install ayoba-api-mock

### 6.Execute the index.js script:

-node test.js

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