As a suggestion on a Coding Train thread on GitHub in which Daniel Sghiffman was asking for ideas on how to keep poll votes after restarting the server, Simon has created another library for Node.js: a node package published on NPM (Node Package Manager). This summer, while we were in Amsterdam, he had already made another Node package that computes the GCD (greatest common divider) and LCM (least common multiple).
Now I made another super-basic Node package that just spins up a database. It’s a really short piece of code (about 50 lines) but it creates a database that’s super-profound. Like if you have a bunch of entries and each entry has a name, I can access each entry by their name.
My super-simple database called