UNPKG
fronteasy
Version:
latest (0.1.3)
1.0.0
0.1.3
0.1.2
0.1.1
0.1.0
Work in progress...
github.com/luca-leone/fronteasy
luca-leone/fronteasy
fronteasy
/
memory.js
14 lines
(12 loc)
•
294 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module
.
exports
= (
function
(
memory
) {
var
MemoryFileSystem
=
require
(
"memory-fs"
);
function
instance
(
) {
if
(!memory) { memory =
new
MemoryFileSystem
(); }
return
memory; }
return
{
instance
: instance }; })(
global
.
memory
|| (
global
.
memory
=
null
));