@klw/localstorage
v1.0.1
Published
A thin wrapper around the localStorage api
Downloads
6
Maintainers
Readme
localstorage
A thin wrapper around the localStorage api
Usage
yarn add @klw/localstorage
import { useLocalStorage } from "@klw/localstorage";
const storage = useLocalStorage();
storage.set("alive", true);
storage.get("alive");