What is Web Storage Manager?
This library include lots of methods to manage session storage or local storage on your web pages.
What can WSM do for you?
Commonly, we use web storage to keep our key-value lists. So, this library have some methods like;
to add item to list
to get item by id from list
to get all items from list
to remove item/all from list
Use budala.help() function to discover methods. You can see all methods under budala key. (Ex: budala.getAll()) Please let me know if you have some advices to improve this library via oguzhankircali@gmail.com e-mail address.
Install Web Storage Manager
Install package from Nuget.org
After nuget download, include web-storage-manager.js file to your page.
Use it.
You can use budala keyword to call functions.
Session storage is default, but you can set in page load as localStorage.
sessionStorage is alive in current tab, but localStorage is alive in another tab (until closing browser).
Last updated