
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
config-watcher
Advanced tools
A simple file watcher mainly used with remote configuration
Allows you to watch a certain configuration file for changes. An event (file:change
) is emitted on change that returns the file
content and allows you to act on those changes. This is a great tool to use for configuration changes read in one docker
container and listened to in another via a shared volume.
npm install -S config-watcher
const Watcher = require('config-watcher');
const watcher = new Watcher({ filePath: '...' });
watcher.on('file:change', file => {
// do something
});
new Watcher({ filePath: filePath })
- Watcher object
filePath
: The file path to watch.on('file:change')
- The event emitted on file change
file
the file changesFAQs
A simple file watcher mainly for use with remote configuration
The npm package config-watcher receives a total of 0 weekly downloads. As such, config-watcher popularity was classified as not popular.
We found that config-watcher 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
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.