Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@converse/localforage-getitems
Advanced tools
Readme
This is a fork of localforage-getitems
which adds support for the getAll
function for IndexedDB.
The upstream pull request is here: https://github.com/localForage/localForage-getItems/pull/12
The upstream project appears to be unmaintained and hasn't had any changes in 5 years.
npm i @converse/localforage-getitems
Just like getItem()
but you can pass an array with the keys that need to be retrieved.
const keys = ['asdf','asap','async'];
localforage.getItems(keys).then((results) => {
console.log(results);
// prints:
// {
// asdf: 'asdf value!',
// asap: 'asap value!',
// async: 'async value!'
// }
console.log(results.asdf);
console.log(results['asdf']);
console.log(results[keys[0]]);
// all the above print 'asdf value!'
});
Invoking getItems()
without arguments (or with null
as the first argument) will retrieve all the items of the current driver instance.
localforage.getItems().then((results) => { });
// or by using callbacks
localforage.getItems(null, results) => { });
FAQs
Adds getItems method to localForage.
The npm package @converse/localforage-getitems receives a total of 129 weekly downloads. As such, @converse/localforage-getitems popularity was classified as not popular.
We found that @converse/localforage-getitems demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.