javascript - Node Package for permanently recording info? -


so, when run code. want have variable recorded permanently something. wondering if there node package or option doing this.

i want able access when restart server. dont want lose data.

example (let's call "runme.js")

var exampletest = "hello world"; 

when run file, want record info permanently somewhere.

i storing simple string. example above.

were on browser, using localstorage no-brainer. however, node.js, can use node-localstorage now.

however, may want more advanced solutions database. mongodb allows 1 store data in json, should familiar js developer.


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -