Have you ever mounted a remote system over ssh and wondered what protocol it used to transfer the files.
More than likely it was the sftp protocol (not to be confused with ftp or ftps or ftp over ssh).
To test this, run the sftp.js file on one terminal:
Then in another terminal, try to mount it using
sudo mkdir /media/nodejs sudo chown tim:tim /media/nodejs sshfs -o directport=6000 localhost:/home/tim /media/nodejs
Then from there explore your new nodeJS powered filesystem. If you hit a part of the protocol I haven't fully implemented, your sshfs client will lock hard.
To recover from a lock, kill sshfs and umount
killall -9 sshfs sudo umount /media/nodejs -l
killall will free up your processes that got blocked by sshfs.