0.2.0 • Published 10 months ago
@novely/flex-storage v0.2.0
@novely/flex-storage
Flex storage uses seroval for serializing/deserializing and lz-string for compression/decompression.
Usage
import { flexStorage, adapterLocalStorage, cloneFunction } from '@novely/flex-storage';
const storage = flexStorage({
adapter: adapterLocalStorage()
})
const engine = novely({
...,
storage,
cloneFunction
});