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 🙏

© 2024 – Pkg Stats / Ryan Hefner

git-explorer

v0.5.1

Published

A local development tool that provides offline-first support for previewing and comparing branches in a local git repository.

Downloads

30

Readme

git-explorer

GitHub Actions status GitHub release license

Overview

Git Explorer is a local development tool that provides offline-first support for previewing and comparing branches in a local git repository. git-explorer

Usage

You can use the project locally on your system a couple different ways, depending on your preference. You will need to have NodeJS LTS installed on your machine.

After running these commands, you can view the explorer web app in your browser at localhost:3000.

One Time (npx)

Use npx to use the project (while online) for any local repository you have.

$ cd /path/to/your/repo
$ npx git-explorer

This approach will always use the latest version of git-explorer published to npm.

Offline (global npm / Yarn)

By installing git-explorer globally, you can aceess the tool even if you're offline! Just use your preferred package manager's global installation command and then run the tool from the directory of your local repository.

# npm
$ npm install -g git-explorer

# or with Yarn
$ yarn add --global git-explorer

# now run git-explorer from your local repo
$ cd path/to/your/repo
$ git-explorer

To upgrade your global install of git-explorer to a newer version, just re-run the global installation command again.

Options

Port

By default, Git Explorer runs on port 3000. To run it on a different port, you can pass a custom --port flag. Example:

$ npx git-explorer --port 4200

Open

To automatically open the default browser on start of the server, you can pass a custom --open flag. Example:

$ npx git-explorer --open

Contributing

Contributions are welcome either in the form of code or ideas!

Ideas / Feature Requests

See something you want to have included in Git Explorer? Feel free to open an issue, and if you're feeling ambition, submit a PR!

Development

To develop for the project, make sure you have NodeJS and Git installed.

Then, you can do the following:

  1. Clone the repo
  2. Run npm ci
  3. Run npm start

You should now be able to see the project running on localhost:3000

Note: If you make changes to src/server.js, make sure to restart the server by killing the server and re-running npm start