New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fastcampus/fastbus

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastcampus/fastbus - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

dist/fast-bus.d.ts

30

package.json
{
"name": "@fastcampus/fastbus",
"version": "0.1.2",
"version": "0.1.3",
"description": "fast and simple pubsub using redis",
"url": "https://github.com/fastcampusgit/fastbus",
"repository": "https://github.com/fastcampusgit/fastbus",
"main": "index.js",
"author": "iolo@fastcampus.co.kr",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.js",
"scripts": {
"prepare": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint --ext .js --ext .ts ./src",

@@ -15,17 +18,16 @@ "test": "jest --forceExit --coverage --verbose ./src",

},
"license": "MIT",
"devDependencies": {
"@types/jest": "^25.2.3",
"@types/node": "^14.0.5",
"@types/redis": "^2.8.21",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"eslint": "^7.1.0",
"@types/jest": "^26.0.4",
"@types/node": "^14.0.23",
"@types/redis": "^2.8.25",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"jest": "^26.0.1",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"redis-mock": "^0.49.0",
"ts-jest": "^26.0.0",
"typescript": "^3.9.3"
"ts-jest": "^26.1.2",
"typescript": "^3.9.6"
},

@@ -32,0 +34,0 @@ "dependencies": {

@@ -5,2 +5,4 @@ # fastbus

[![npm version](https://badge.fury.io/js/%40fastcampus%2Ffastbus.svg)](https://badge.fury.io/js/%40fastcampus%2Ffastbus)
## Getting Started

@@ -7,0 +9,0 @@

@@ -15,3 +15,3 @@ import Debug from 'debug';

export default class FastBus {
export class FastBus {
prefix: string;

@@ -27,3 +27,3 @@ subscriptions: EventEmitter;

// 주의: redis pub/sub 은 db(key space)를 구분하지 않음 기본 db가 아니면 토픽 이름에 db 를 포함
toChannelName(topic) {
private toChannelName(topic) {
return this.prefix + topic;

@@ -30,0 +30,0 @@ }

@@ -1,1 +0,1 @@

export * from './fast-bus';
export { FastBus } from './fast-bus';
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