Package Exports
- resolve-storage-lite
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (resolve-storage-lite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
resolve-storage-lite 
This package is a resolve-es
adapter for storing events using a file or memory. It does not have binary dependencies and does not require additional applications (like MongoDB or SQL server).
Available Parameters
You can pass the following argument when initializing an adapter:
pathToFile
- the path to a file where events are stored. Notice, if that argument is not passed the adapter uses memory to store events. In this case, all data is lost when an application instance is restarted.
Usage
import createAdapter from 'resolve-storage-lite';
const adapter = createAdapter({ pathToFile: './store.db' });