@graffy/memory 0.15.16 → 0.15.19-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +11 -1
- package/package.json +2 -2
package/Readme.md
CHANGED
|
@@ -2,4 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Graffy module providing a simple in-memory store.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```js
|
|
8
|
+
import Graffy from '@graffy/core';
|
|
9
|
+
import link from '@graffy/link';
|
|
10
|
+
|
|
11
|
+
const store = new Graffy();
|
|
12
|
+
store.use('local', memory());
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
See [Graffy documentation](https://graffy.org) for more.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graffy/memory",
|
|
3
3
|
"description": "Graffy module providing a simple in-memory store.",
|
|
4
4
|
"author": "aravind (https://github.com/aravindet)",
|
|
5
|
-
"version": "0.15.
|
|
5
|
+
"version": "0.15.19-alpha.1",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"exports": {
|
|
8
8
|
"import": "./index.mjs",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
},
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@graffy/common": "0.15.
|
|
19
|
+
"@graffy/common": "0.15.19-alpha.1"
|
|
20
20
|
}
|
|
21
21
|
}
|