Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typed-signals

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-signals - npm Package Compare versions

Comparing version 0.9.0 to 1.0.0

2

package.json
{
"name": "typed-signals",
"version": "0.9.0",
"version": "1.0.0",
"description": "A type checked signal library for TypeScript (and JavaScript)",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,3 +5,3 @@ ## Typed-Signals

A type-checked signal library written in TypeScript, usable from plain Javascript as well. This is a TypeScript port of this excellent C++11 Version:
A type-checked signal library written in TypeScript, usable from plain JavaScript as well. This is a TypeScript port of this excellent C++11 version:
[Performance of a C++11 Signal System](https://testbit.eu/cpp11-signal-system-performance/).

@@ -12,2 +12,6 @@ Of course, some changes have been made to make it work with TypeScript.

### Installation via NPM
```npm install typed-signals --save```
### Simple usage

@@ -64,2 +68,3 @@

// Handlers are called in the order in which they are added:
mySignal.connect(()=>console.log('first'));

@@ -66,0 +71,0 @@ mySignal.connect(()=>console.log('second'));

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc