Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/themost-framework/memory
MOST Web Framework in-memory data adapter for testing environments
https://github.com/themost-framework/memory
adapter data orm
Last synced: about 7 hours ago
JSON representation
MOST Web Framework in-memory data adapter for testing environments
- Host: GitHub
- URL: https://github.com/themost-framework/memory
- Owner: themost-framework
- License: bsd-3-clause
- Created: 2019-11-15T09:08:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T08:13:49.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T12:37:23.660Z (about 1 month ago)
- Topics: adapter, data, orm
- Language: JavaScript
- Homepage:
- Size: 465 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![https://nodei.co/npm/@themost%2Fmem.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/@themost%2Fmem.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/@themost%2Fmem)
# themost-mem
MOST Web Framework in-memory data adapter for testing environmentsThis repository contains an in-memory data adapter for developing applications and services under [MOST Web Framework 2.0 Codename Blueshift](https://github.com/themost-framework/themost)
### 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.