strongloop/loopback-datasource-juggler — pull request #67 by raymondfeng (2014-01-29 21:44:30+00:00)
Title: Add an option for the memory connector to persist model instances

/to @ritch

The PR allows the memory connector to take an optional 'file' property in settings, for example:

var ds = new DataSource({
connector: 'memory',
file: file
});

If file is present, the memory connector tries to load/save the model instances from/to the file.