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

ts-bus

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-bus - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "ts-bus",
"version": "0.1.1",
"version": "0.1.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -9,5 +9,13 @@ # TS Bus

Use your favourite npm client to install ts-bus. Types should be included.
Use your favourite npm client to install ts-bus. Types are included automatically.
Npm:
```bash
npm install ts-bus
```
Yarn:
```bash
yarn add ts-bus

@@ -42,3 +50,4 @@ ```

// Personally I prefer to put the event type inline as it is more concise:
// Personally I prefer to put the event type
// inline as it is more concise:
export const otherEvent = createEventCreator<{

@@ -49,4 +58,6 @@ type: "OTHER_EVENT";

// Note we have to pass in a string as typescript does not allow for a way to create a string from typeland
// This is typed however so you should have autocompletion and should not find yourself making errors
// Note we have to pass in a string as typescript does
// not allow for a way to create a string from typeland
// This is typed however so you should have
// autocompletion and should not find yourself making errors
```

@@ -53,0 +64,0 @@

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