
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@creately/lschannel-es6
Advanced tools
Send and receive messages across multiple tabs and windows. LocalStorage channels extend the RxJS subject to provide an api which will work well with applications which use Observables. To get started, first install the module with npm.
Send and receive messages across multiple tabs and windows. LocalStorage channels extend the RxJS subject to provide an api which will work well with applications which use Observables. To get started, first install the module with npm.
npm install @creately/lschannel
When creating a channel, provide a unique key to identify the channel. The key will be the key on localStorage data will be stored on.
import { Channel } from '@creately/lschannel';
// create a channel
const ch = Channel.create<number>('unique-key');
// subscribe to data
ch.subscribe((n: number) => {
console.log('received', n)
});
// on a different tab
ch.next(1);
ch.next(2);
ch.next(3);
FAQs
Send and receive messages across multiple tabs and windows. LocalStorage channels extend the RxJS subject to provide an api which will work well with applications which use Observables. To get started, first install the module with npm.
The npm package @creately/lschannel-es6 receives a total of 4 weekly downloads. As such, @creately/lschannel-es6 popularity was classified as not popular.
We found that @creately/lschannel-es6 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.