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

gitfuse

v0.1.2

Published

Mount js-git repos as userspace filesystems using fuse4js

Readme

gitfuse

A CLI tool that mounts js-git repos as local filesystems using fuse4js.

Examples

Mounting a local bare git repo.

# Create a local bare repo by cloning a remote
> git clone --bare [email protected]:creationix/conquest.git
# Create a mountpoint
> mkdir conquest
# mount with some custom fuse options
# the `auto_umount` option is linux only.
> gitfuse -p conquest.git -m conquest -o allow_other,auto_umount

Mounting a remote github repo using Github's REST API. Create a token at https://github.com/settings/tokens/new.

# Paste in your own token
> export GITHUB_TOKEN=a19e1bbf332ef7937a54c5f3de47b2813b27be42
# Create a mountpoint
> mkdir exploder
# Mount it!
> gitfuse -g creationix/exploder -p exploder -o allow_other

In either example, the fuse command blocks the terminal, so either background with & or open a new terminal tab to test the mount.

To umount either use sudo umount /path/to/mountpoint or use fusermount -u /path/to/mountpoint.

Setup

This currently uses a C++ node addon to communicate with the fuse kernel module. This is the fuse4js Project. You need to first install the dependencies for it before you can npm install -g gitfuse.

On linux, install the fuse dev headers and the fuse package.
For ubuntu this is apt-get install fuse libfuse-dev.
On OSX, I recommend installing http://osxfuse.github.io/.

Also There is a V8 bug in node v0.10.31 that causes segfaults when inflating the git data in js-git and fuse4js doesn't work yet in node v0.11.x so I recommend you use nvm to make sure you're running node v0.10.30.

Installing

Once you have the fuse headers and userspace tools (fusermount) installed, you can install gitfuse.

> npm install -g gitfuse

Then have fun!

Usage

> gitfuse

Mount a git repo as a file system

Usage: node ./gitfuse.js {options}

Options:
  -p, --path         path to local git bare repository (eg ./repo.git)                                                                                
  -g, --github       github repository (eg creationix/exploder)                                                                                       
  -m, --mountpoint   path to mount at                                                                                                                 
  -o, --fuseoptions  comma seperated fuse options (eg "allow_other,auto_unmount")                                                                     
  -d, --debug        enable debug for fuse4js                                                                                                         

TODO

Currently this only mounts the git repo read-only. In the future it will allow also writing to the repo and creating new commits.

About

This was a Rackspace hackday project by @creationix and @stufflebear.