json-crypt
Dumping and loading JSON-serializable objects to file
'use strict'; const Crypt = ; const myObj = foo: bar: 1 2 3 ; Crypt;
CLI
npm i -g json-crypt
jcrypt enc password!23 myfile.json myencryptedfile.ejs
OR
jcrypt dec password!23 myencryptedfile.ejs myfile.json