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 driver for resolve-es
to store events using a file or a memory. This package doesn't have binary dependencies and not require additional applications (like MongoDB or SQL server).
Available Parameters
You can pass the following argument when initializing a driver:
pathToFile
- path to a file where events will be stored. Notice, if that argument is not passed the driver will use memory to store events. In this way, when instance of application will be restarted all data will be lost.
Usage
import createDriver from 'resolve-storage-lite';
const driver = createDriver({ pathToFile: './store.db' });