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: 4 months 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T08:13:49.000Z (over 2 years ago)
- Last Synced: 2025-02-17T03:02:59.673Z (4 months 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://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.