Vifi - virtual file system library
examples:
// we're importing vifi libaryconst vifi = ; // we create virtual file system (and we inject fs module)const vfs = ; // then we open file:const file = vfs;
then if you want to use promises you write this way:
file;
or using async/await (Node 7+):
{ const contents = await file; file} ;