Package Exports
- resolve-storage-mongo
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-mongo) 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-mongo
This package is a resolve-es
adapter for storing events using MongoDB.
Available Parameters
url
- a MongoDB connection string. Refer to Connection String URI Format for more information.collection
- a name of a collection storing events.
Usage
import createAdapter from 'resolve-storage-mongo';
const adapter = createAdapter({
url: 'mongodb://localhost:27015',
collection: 'events'
});