npm i session-storage-api-connect

Usage no npm install needed!

<script type="module">
  import sessionStorageApiConnect from '';


Frontend API for session storage

Install the package
npm i session-storage-api-connect
Get data from SS:
getFromSessionStorage(API_LINK, id)
Post data to SS:
postToSessionStorage(API_LINK, body)
Put (upsert) data to SS:
putToSessionStorage(API_LINK, id, body)


Create build of the package
npm run build
Link to npm

Publish a new version
npm version patch
npm publish