9.9.14 • Published 3 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
3 years ago
0.0.0-beta
3 years ago
9.9.10
3 years ago
9.9.12
3 years ago
9.9.13
3 years ago
9.9.14
3 years ago
0.0.73-beta
3 years ago
0.0.72-beta
3 years ago
0.0.71-beta
3 years ago
0.0.70-beta
3 years ago
0.0.40-beta
3 years ago
0.0.6-beta
3 years ago
0.0.5-beta
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago