@novely/flex-storage
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@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
});

Readme

Keywords

Package Sidebar

Install

npm i @novely/flex-storage

Weekly Downloads

1

Version

0.2.1

License

ISC

Unpacked Size

9.52 kB

Total Files

6

Last publish

Collaborators

  • artemis69