
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@voodoo.io/reloader
Advanced tools
Reloader
Minimalist, efficient and performance focused module to run a function at a specific interval.
/!\ This module use async/await syntax, this is why you must have node 7.6+.
Supported and tested : >= 14
Version | Supported | Tested |
---|---|---|
18.x | yes | yes |
16.x | yes | yes |
14.x | yes | yes |
12.x | no | yes |
10.x | no | yes |
9.x | no | yes |
8.x | no | yes |
>= 7.6 | no | yes |
$ npm install @voodoo.io/reloader --save
const ConfigManager = require('@voodoo.io/reloader')
const configManager = new ConfigManager()
// create a config function that should be run every 2 seconds
configManager.addFunction("config", async () => {
// my stuff to reload here ....
}, 2000)
await configManager.init()
If your function returns a result it's accessible through "get" method.
configManager.get('config')
// or
configManager.getAll()
Params | description | Default value |
---|---|---|
delay | Interval in ms between two check, only | 60000 (1min) |
one timer is used to check each function |
$ npm test
Coverage report can be found in coverage/.
FAQs
Simple module to run a function periodically.
The npm package @voodoo.io/reloader receives a total of 49 weekly downloads. As such, @voodoo.io/reloader popularity was classified as not popular.
We found that @voodoo.io/reloader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.