9.9.14 • Published 4 years ago
@zero-version/key-value-storage v9.9.14
Key/value storage.
Usage
Using an interface allows for multiple implementations, as well as decorator or adapter implementations if needed. See the MemoryKeyValueStore for an example implementation.
IKeyValueStore
import type { IKeyValueStore } from '@zero-version/key-value-storage';
export class KeyValueStore implements IKeyValueStore {
public get(key: string) {
// Implement
}
public set(key: string, value: any) {
// Implement
}
public remove(key: string) {
// Implement
}
}
Support ☕
Are you using a package I've developed and finding it useful? Or have you looked at one of my repositories and learnt something new? If so, please consider buying me a coffee. Thanks!
0.1.0-beta
4 years ago
0.0.0-beta
4 years ago
9.9.10
4 years ago
9.9.12
4 years ago
9.9.13
4 years ago
9.9.14
4 years ago
0.0.73-beta
4 years ago
0.0.72-beta
4 years ago
0.0.71-beta
4 years ago
0.0.70-beta
4 years ago
0.0.40-beta
4 years ago
0.0.6-beta
4 years ago
0.0.5-beta
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago