ws-cognito-storage

Utility library which asynchronously exposes the localStorage primitive. While the logic is simple enough and it can be implemented inline the module is provided for convenience, especially useful if it needs to be replaced with bundlers such as browserify and webpack.

Usage no npm install needed!

<script type="module">
  import wsCognitoStorage from 'https://cdn.skypack.dev/ws-cognito-storage';
</script>

README

ws-cognito-storage

Utility library which asynchronously exposes the localStorage primitive. While the logic is simple enough and it can be implemented inline the module is provided for convenience, especially useful if it needs to be replaced with bundlers such as browserify and webpack.