apina

Mock and cache API responses locally.

Usage no npm install needed!

<script type="module">
  import apina from 'https://cdn.skypack.dev/apina';
</script>

README

APINA

Application Programming Interface N/A

Mock and cache API responses locally from a URL. Ease development with external APIs with large payload.

APINA fetches and stores HTTP responses to ./apina_cache and serves a stored response on port :5454.

Use

$ yarn add apina -D
$ yarn apina <url>

Example

$ yarn apina https://jsonplaceholder.typicode.com/comments
Local version not found. Saving in cache: ./apina_cache/https___jsonplaceholder_typicode_com_todos
Apina mocking on port 5454