
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
local-storage-query
Advanced tools
Local Storage Query is a utility class designed to simplify interactions with the browser's localStorage API. This package provides methods to easily manage data stored in the browser's localStorage in asynchronous way, allowing for seamless integration with client side based JavaScript library and framework.
You can install the package via npm or yarn:
npm install local-storage-query
yarn add local-storage-query
import DB from "local-storage-query";
/*-------------------------Create an instance of DB-------------------*/
const db = new DB({
collectionName: "yourCollectionName",
latency: 1000,
});
/*-------------------------Methods-------------------*/
/*
success response : response res?.response.data.data or message
error response : error?.message
*/
const res = await db.create(data);
const res = await db.deleteById(id);
const res = await db.updateById(id, item);
const res = await db.findById(id);
const res = await db.find(null);
const res = await db.find({ name: "user" });
const res = await db.search({ keyName: searchTerm });
Contributions are welcome! Feel free to open issues or submit pull requests to contribute to this project.
This package is open-source and available under the MIT License.
FAQs
lacal storage query
The npm package local-storage-query receives a total of 1 weekly downloads. As such, local-storage-query popularity was classified as not popular.
We found that local-storage-query demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.