Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
hubot-command-analytics
Advanced tools
Some analytics about the hubot command's used
See src/command-analytics.coffee
for full documentation.
Warning: To date a command is everything used after the robot name.
user1>> hubot cat bomb 1
user1>> hubot cat bomb 2
user1>> hubot cat bomb 3
In the above snippet, the analytics will count 3 different commands (instead of counting only 1 command (hubot cat bomb
) 3 times.
In hubot project repo, run:
npm install hubot-command-analytics --save
Then add hubot-command-analytics to your external-scripts.json
:
[
"hubot-command-analytics"
]
user1>> hubot hello
...
user1>> hubot score hello
hubot>> user1 hello: 1
user1>> hubot top
hubot>> user1
.---------------------.
| Score | Command |
|-------|-------------|
| 1 | hello |
| 1 | score hello |
| 1 | top |
'---------------------'
score <commands>
: how many times has been usedtop [n] [asc|desc]
: Display the n
commands order by scores asc or desc. Default n=10, order=desc
.Every time a command is heard, a command-analytics
event is emitted.
robot.on 'command-analytics', (command_analytics) ->
robot.send command_analytics.user, "The #{command_analytics.command}'s score is: #{command_analytics.score}"
FAQs
Some analytics about the hubot command's used
We found that hubot-command-analytics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.