1.0.63 • Published 3 years ago
wrapped-in-localstorage v1.0.63

Library for working with local storage
Installation
npm:
$ npm install wrapped-in-localstorageCDN:
<script src="https://cdn.jsdelivr.net/npm/wrapped-in-localstorage@1.0.63/dist/wrapped-in-localstorage.min.js"></script>Feature List
Checking if an element exists in local storage.
WrappedLocalStorage.has();- Returns - Boolean.
Getting the value of an item in local storage.
WrappedLocalStorage.get();- Returns - Object.
Create an item in local storage.
WrappedLocalStorage.set();- It takes arguments - key, value.
Removing an item from local storage.
WrappedLocalStorage.delete();- It takes an argument - key.
Clearing local storage.
WrappedLocalStorage.deleteAll();Get the number of local storage items.
WrappedLocalStorage.getLength();- Returns - Nuber
Checking the health of local storage.
WrappedLocalStorage.checkEnabled();- Returns - Boolean.