@se-ng/swapi

This is a helper project to be able to use the [Star Wars API](https://swapi.co/) in my Angular samples. It fetches the entirety of SWAPI and caches this into indexedDB by utilizing [idb-keyval](https://github.com/jakearchibald/idb-keyval) from Jake Archi

Usage no npm install needed!

<script type="module">
  import seNgSwapi from 'https://cdn.skypack.dev/@se-ng/swapi';
</script>

README

Swapi

This is a helper project to be able to use the Star Wars API in my Angular samples. It fetches the entirety of SWAPI and caches this into indexedDB by utilizing idb-keyval from Jake Archibald. This library's source is available on Sanders Samples repo.

to use the library do:

yarn add @se-ng/swapi idb-keyval

This library was generated with Angular CLI version 7.3.5.

Peer depedencies

  • idb-keyval
  • rxjs