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

aedes-stats

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aedes-stats - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

.travis.yml

12

package.json
{
"name": "aedes-stats",
"version": "0.0.1",
"version": "1.0.0",
"description": "stats for aedes",
"main": "stats.js",
"scripts": {
"test": "standard && tape test.js || faucet"
"lint": "standard",
"test": "standard && tape test.js | faucet"
},
"pre-commit": [
"lint",
"test"
],
"repository": {

@@ -34,4 +39,5 @@ "type": "git",

"moment": "^2.13.0",
"moving-average": "^0.1.1"
"moving-average": "^0.1.1",
"mqtt": "^2.4.0"
}
}
# aedes-stats
Stats for Aedes
## Install
```
npm i aedes aedes-stats --save
```
## Example
```js
var aedes = require('aedes')
var stats = require('aedes-stats')
var instance = aedes()
stats(aedes)
```
## Topics and Stats published
* `$SYS/{ID}/uptime`
* `$SYS/{ID}/time`
* `$SYS/{ID}/clients/total`
* `$SYS/{ID}/clients/maximum`
* `$SYS/{ID}/messages/publish/sent`
* `$SYS/{ID}/memory/heap/current`
* `$SYS/{ID}/memory/heap/maximum`
Where `{ID}` is the `aedes` instance id.
## License
MIT

Sorry, the diff of this file is not supported yet

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