How to install jsstore for an ionic project with angular4

I need to adopt jsstore(local database) in my project as shown here. How to install/work with jsstore, Ionic and Angular4. Is there any solution for this?..While working with ionic, jsstore installs with this command “npm i jsstore”. But we cannot update the versions. But while working with angular4, we can include this “…/node_modules/jsstore/dist/jsstore-1.3.0.min.js” in scripts array of angular-cli.json. Can anyone help me out to solve this issue…