Installations
npm install zer0-bus
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
8.11.2
NPM Version
6.0.0
Score
53
Supply Chain
72.7
Quality
71.8
Maintenance
50
Vulnerability
95.4
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (100%)
Developer
fluidnotions
Download Statistics
Total Downloads
3,122
Last Day
1
Last Week
6
Last Month
11
Last Year
184
GitHub Statistics
1 Stars
40 Commits
2 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
0.3.1
Package Id
zer0-bus@0.3.1
Unpacked Size
28.02 kB
Size
7.27 kB
File Count
20
NPM Version
6.0.0
Node Version
8.11.2
Total Downloads
Cumulative downloads
Total Downloads
3,122
Last day
0%
1
Compared to previous day
Last week
500%
6
Compared to previous week
Last month
175%
11
Compared to previous month
Last year
-36.8%
184
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
3
zer0-bus
pattern matching service bus over local area networks
- works without administration or configuration
- Peers can join or leave the network at any time
- Peers can communicate directly with each other; no central server or message broker needed
- Peer discovery usually takes less than a second
thin typescript wrapper around seneca using seneca-zyre-transport (zyre.js)
Quick Example
examples can be found in src/tests folder
1import { ZeroBus, DoneFunc } from "zer0-bus"; 2 3let terminalConfig = { name: "test1", headers: { terminalId: "term1" }, iface: "Wireless Network Connection", testing: true }; 4ZeroBus.instance(terminalConfig) 5 .then((zb: ZeroBus) => { 6 zb.add({ 7 cmd: 'hello' 8 }, (msg: any, done: DoneFunc) => { 9 done(null, { 10 result: 'hello ' + msg.name, 11 }) 12 }) 13 zb.act({ 14 cmd: 'hello', 15 //version: "v2", 16 name: 'Dude' 17 }).then((resp: any) => { 18 console.log("response message from v2 act ", c, "...", resp) 19 }) 20 })
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
15 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r
- Warn: Project is vulnerable to: GHSA-c6rq-rjc2-86v2
- Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574
- Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m / GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-2xwv-3cc9-fp7c
- Warn: Project is vulnerable to: GHSA-wpg7-2c88-r8xv
Score
1.3
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More