Namespace Pollution Mechanism

    resolve-storage-mongo

    0.23.2 • Public • Published

    resolve-storage-mongo

    npm version

    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.
    • collectionName - a name of a collection storing events.

    Usage

    import createAdapter from 'resolve-storage-mongo'
     
    const adapter = createAdapter({
      url: 'mongodb://localhost:27017/CustomDatabaseName',
      collectionName: 'Events'
    })

    Analytics

    Install

    npm i resolve-storage-mongo

    DownloadsWeekly Downloads

    103

    Version

    0.23.2

    License

    MIT

    Unpacked Size

    101 kB

    Total Files

    66

    Last publish

    Collaborators

    • resolve-admin
    • reimagined-admin
    • vladihost
    • lykoi18