lsrx
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

lsrx

Local Storage helper.

Usage

import lsrx from 'lsrx';

const ls = lsrx();
const item = ls.use('ls_key');

console.log(item.current);
item.current = 'test';

item.subscribe((oldValue, newValue) => console.log(oldValue, newValue));

/lsrx/

    Package Sidebar

    Install

    npm i lsrx

    Weekly Downloads

    1

    Version

    0.0.2

    License

    BSD-3-Clause-Clear

    Unpacked Size

    6.43 kB

    Total Files

    12

    Last publish

    Collaborators

    • mat-sz