
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
A FileSystem poller for Node.js.
npm install poller
// Require the library
const poller = require('poller');
// Poll a file directory
poller('/tmp/myFolder', (err, poll) => {
// Log every time a file is added into the folder
poll.on('add', filePath => {
console.log(filePath, 'was added');
});
// Log every time a file is removed from the folder
poll.on('remove', filePath => {
console.log(filePath, 'was removed');
});
// Stop polling the folder for file adds/removals
poll.close();
});
// Poll a file directory at an interval of 50ms (the default is 100ms)
poller('/tmp/myFolder', { interval: 50 }, (err, poll) => {});
© 2025 Anephenix OÜ. Poller is licenced under the MIT license.
FAQs
A FileSystem poller for Node.js
The npm package poller receives a total of 4 weekly downloads. As such, poller popularity was classified as not popular.
We found that poller demonstrated a healthy version release cadence and project activity because the last version was released less than 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 for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.