@themost/memory
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

https://nodei.co/npm/@themost%2Fmem.png?downloads=true&downloadRank=true&stars=true

themost-mem

MOST Web Framework in-memory data adapter for testing environments

This repository contains an in-memory data adapter for developing applications and services under MOST Web Framework 2.0 Codename Blueshift

Installation:

npm install @themost/mem

Application Configuration:

Add in-memory data data adapter to available adapter types:

"adapterTypes": [
    ...
      { "name":"Memory Data Adapter", "invariantName": "memory", "type":"@themost/memory" }
    ...
    ],
adapters: [
    ...
    { 
        "name":"local-storage", "invariantName":"memory", "default":true,
        "options": {
        }
    }
    ...
]

}

Note: If you are intending to use memory data adapter as the default adapter mark it as "default": true while setting application configuration.

Package Sidebar

Install

npm i @themost/memory

Weekly Downloads

0

Version

1.1.0

License

BSD-3-Clause

Unpacked Size

366 kB

Total Files

14

Last publish

Collaborators

  • themost