We create a class called MapStore
that serializes the JavaScript Map object to JSON and stores that on the filesystem using node 14's fs/promises API.
In future lessons we'll use this class to persist our in-memory notes.
View the source for MapStore.js on the projects github repo.