use local storage on server with node
const LocalStorage = require('node-localstorage').LocalStorage, localStorage = new LocalStorage('./scratch');
Source: stackoverflow.com
node-localstorage example
node-disk-storage a simple fast and secure local storage for nodejs, you can store any data using key and value, and then your data will be encrypt to be like this �+�)data|ZGF0YXxqb2huK2RvZV5eXiQwfDFd^^^$0|1 npm i node-disk-storage -S || yarn add node-disk-storage -S