npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-watchd

v0.0.1

Published

a simple watchd server and client

Readme

Node Watchd

This is a nodejs module which contains a watchd server and a client.

What's this used for

Sometimes you need to watch some files change (normally, as a developer). For example, you have three javascripts, you would like to use uglifyjs to compile them into one. Certainly you could do it by hand:

uglifyjs *.js > my.js

Then you include my.js in your html file.

<script src="my.js"></script>

It is fine. But everytime you change the original file, you need to redo this work. That is really boring.

There is also similar utilities, for example, you could use compass to watch .scss files.
But what about a common server for doing this???

So that's the idea!!!

How to install

Cause it is a nodejs module, so you need to install nodejs first. And then install it by npm just like a normal nodejs module.

npm install node-watchd

How to use

  • start the server

      $ watchd
    	
  • use command line tool to add to the watch list, use -h to view help

      $ watch -h
    	

Examples

yarco@me node-watchd$ ./bin/watch -l
Key	File						Action
yarco@me node-watchd$ ./bin/watch tmp.js tmp.txt -a 'cat tmp.js tmp.txt > all.txt'
Key	File						Action
0	/Users/yarco/Sites/js/node-watchd/tmp.js	cat tmp.js tmp.txt > all.txt
1	/Users/yarco/Sites/js/node-watchd/tmp.txt	cat tmp.js tmp.txt > all.txt
yarco@me node-watchd$ ./bin/watch -r 1
Key	File						Action
0	/Users/yarco/Sites/js/node-watchd/tmp.js	cat tmp.js tmp.txt > all.txt

Sugguestion

You could contact [email protected] for this extension. Or for programming related things, whatever.

This guy currently works in Wiredcraft.com. So you could also get him by [email protected]

All rights reserved by human.