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.
Koekje is dutch for cookie
and it's also DOM Storage API compatiable storage
layer for storing data in a... cookie.
This module was designed with browserify in mind and can be installed from the public npm registry:
npm install --save koekje
In all examples we assume that you've required the module as:
'use strict';
var koekje = require('koekje');
The API is we expose is compatible with the API of the DOM Storage methods. They can be found at:
https://developer.mozilla.org/en-US/docs/Web/API/Storage
koekje.setItem('foo', 'bar'); // Returns undefined and stores the value.
koekje.getItem('bar'); // Not found, returns null.
koekje.getItem('foo'); // Returns `bar`.
koekje.length; // 1
koekje.removeItem('foo'); // Returns undefined, length is now 0.
koekje.clear(); // Returns undefined and clears all items.
MIT
FAQs
A sessionStorage interface for cookies
The npm package koekje receives a total of 1,324 weekly downloads. As such, koekje popularity was classified as popular.
We found that koekje 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
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.