
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@cycle/storage
Advanced tools
A Cycle.js Driver for using localStorage and sessionStorage in the browser.
npm install --save @cycle/storage
You can read the API docs here.
Basics:
import Cycle from '@cycle/core';
import storageDriver from '@cycle/storage';
function main(responses) {
// ...
}
const drivers = {
storage: storageDriver
}
Cycle.run(main, drivers);
Simple and normal use case (JSBin demo):
function main({DOM, storage}) {
const storageRequest$ = DOM.select('input')
.events('keypress')
.map(function(ev) {
return {
key: 'inputText',
value: ev.target.value
};
});
return {
DOM: storage.local
.getItem('inputText')
.startWith('')
.map((text) =>
h('input', {
type: 'text',
value: text
})
),
storage: storageRequest$
};
}
FAQs
A Cycle.js driver for localStorage and sessionStorage.
We found that @cycle/storage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers