Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
So you have an Amazon Dash button. Wouldn't it be awesome if you could put it to some other use?
So you have an Amazon Dash button. Wouldn't it be awesome if you could put it to some other use?
That's where DashHooks comes in. DashHooks runs within your WiFi and monitors your Dash Button for presses. When a press is detected, DashHooks runs the configured script. As simple as that.
git clone https://github.com/SidBala/DashHooks.git
npm install
node index.js -a a0:32:ab:21:37:fa -c ./sampleSlackNotification.sh
-a is the MAC address of your Dash Button
-c is the command/script to run when the button is pressed.
-i is the name of the network interface to listen on. Defaults to 'en0' if not specified.
Start with no options first. This will listen for all ARP probes in your network. If you press the Dash button now, DashHooks will show logs. This way, you can quickly determine your DashButton's MAC address without hunting for it in your router's UI.
FAQs
So you have an Amazon Dash button. Wouldn't it be awesome if you could put it to some other use?
The npm package dashhooks receives a total of 0 weekly downloads. As such, dashhooks popularity was classified as not popular.
We found that dashhooks 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.