Nonlinear Programming Methods

    resolve-storage-lite

    0.23.2 • Public • Published

    resolve-storage-lite

    npm version

    This package is a resolve-es adapter for storing events using a file or memory.

    Available Parameters

    You can pass the following argument when initializing an adapter:

    • databaseFile - the path to a file where events are stored. In case ":memory:" all data is lost when an application instance is restarted.

    Usage

    import createAdapter from 'resolve-storage-lite'
     
    const fileAdapter = createAdapter({ 
      databaseFile: './store.db' 
    })
     
    const memoryAdapter = createAdapter({ 
      databaseFile: ':memory:' 
    })

    Analytics

    Install

    npm i resolve-storage-lite

    DownloadsWeekly Downloads

    91

    Version

    0.23.2

    License

    MIT

    Unpacked Size

    105 kB

    Total Files

    62

    Last publish

    Collaborators

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