In order to set up jsstore - you need two files -

  • jsstore - It contains all apis code and need to be included directly in html file.
  • jsstore.worker.js - It contains all logic and can be used as worker or without worker. If you want dont want to use as worker - you can just include in html page just like other scripts.

JsStore can be installed by multiple ways -

Cdn -

  • Latest - https://cdn.jsdelivr.net/npm/jsstore/dist e.g -
    1. jsstore - https://cdn.jsdelivr.net/npm/jsstore/dist/jsstore.min.js
    2. jsstore.worker - https://cdn.jsdelivr.net/npm/jsstore/dist/jsstore.worker.min.js
  • Version - https://cdn.jsdelivr.net/npm/jsstore@version
    e.g -
    1. jsstore - https://cdn.jsdelivr.net/npm/jsstore@2.1.0/dist/jsstore.min.js
    2. jsstore.worker - https://cdn.jsdelivr.net/npm/jsstore@2.1.0/dist/jsstore.worker.min.js

Npm -

  • Latest - npm install jsstore
  • Version - npm install jsstore@version
    e.g - npm install jsstore@version@2.0.0

Raw file -

You can get the raw file from Github.You will find the script in dist folder.