How to integrate sqlite-cipher npm plugin with Nativescript Angular2 app?



I need to use local database in my Nativescript with Angular2 app which will support db encryption & password protection option.

I have searched and got the followed plugin.

Is it possible to integrate sqlite-cipher plugin with Nativescript?


When i installed and tried this plugin with nativescript i got this error, Failed to find a module ‘fs’.