Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monocle

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monocle

a tool for watching directories for file changes

  • 0.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10K
decreased by-66.05%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

Monocle -- a tool for watching things

logo

Have you ever wanted to watch a folder and all of its files/nested folders for changes. well now you can!

npm install monocle

var Monocle = require('monocle')

(new Monocle).watchDirectory(dir, cb, watchSetupComplete, fileFilers, directoryFilters);

or watch an array of files

(new Monocle).watchFiles(files[], cb, watchSetupComplete);

the callback gets the filename that was modified

Filters

  • Read about it here READDIRP

Keywords

FAQs

Package last updated on 15 Apr 2013

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc