Exercise: A Virtual Filesystem
Practice how to write the file data in memory.
We'll cover the following
Problem statement
Modify our LevelDB filesystem adapter example to write the file data in memory rather than in LevelDB. You can use an object or a Map
instance to store the key-value pairs of filenames and the associated data.
Coding challenge
Write your solution code in the following code widget. We’ve already added the package.json
file for your ease.
Get hands-on with 1400+ tech skills courses.