🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

difffs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

difffs

fuse based filesystem that notifies you when changes happen

latest
Source
npmnpm
Version
2.0.3
Version published
Maintainers
1
Created
Source

difffs

Fuse based filesystem that notifies you when changes happen

npm install -g difffs

Usage

difffs [directory] [mountpoint]

For example to mount your home folder to /tmp/mnt do

mkdir /tmp/mnt
difffs ~ /tmp/mnt

Now if you navigate to /tmp/mnt and edit/create a file or a folder the above command will print out the change

Programmatic API

You can also use it as a node module

var difffs = require('difffs')

// diff is a readable stream of changes
var diff = difffs('/Users/maf', '/tmp/mnt')

// remember to drain the stream - otherwise the fs will block
diff.on('data', function (change) {
  console.log('the filesystem changed', change)
})

Dependencies

See the fuse-bindings requirements

License

MIT

FAQs

Package last updated on 21 May 2015

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