![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
element-data-store
Advanced tools
Simple library that provides an api to stores data for an element (similar to $.data in jQuery)
element-data-store is a simple library that provides an api to stores data for an element (similar to $.data in jQuery)
There are multiple ways to add element-data-store to your project.
npm install element-data-store
To add data to an element use the set
method, passing the element, a key and the value you want to store.
elementDataStore.set(element, key, value);
To get data to an element use the get
method, passing the element. The key is an optional parameter, passing it will get the value for the key, not passing the parameter will result in being returned all the data stored on the element.
elementDataStore.get(element, [key]);
To remove data from an element use the remove
method, passing the element. The key is an optional parameter, passing it will remove the value for the key, not passing the parameter will result in the removal of all data stored for the element.
elementDataStore.remove('element', [key])
License: MIT (http://www.opensource.org/licenses/mit-license.php) Copyright Jonathan Fielding 2015
FAQs
Simple library that provides an api to stores data for an element (similar to $.data in jQuery)
The npm package element-data-store receives a total of 0 weekly downloads. As such, element-data-store popularity was classified as not popular.
We found that element-data-store demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.