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

@swimauger/gitproxy

v1.0.1

Published

A Node.js package for running git over a proxy

Downloads

3

Readme

GitProxy Node.js Package

Node.js package built for running git commands over a proxy

| NOTE: GitProxy uses the git command to run over a proxy, so please be sure Git is installed before proceeding! | | :-----------------------------------------------------------------------------------------------------------------------------------------------: |

Installation

Install gitproxy npm install @swimauger/gitproxy -g

Usage

    Usage: gitproxy [options]

    If no options are selected it will treat the command like git

    Options:
    -u, --up <protocol>    open proxy with protocol http or https
    -d, --down <protocol>  shutdown proxy with protocol http or https
    -l, --list             list current proxies
    -h, --help             display help for command

Examples

Running normal git

    gitproxy push origin master

Treat gitproxy like a normal git command. For instance git add . would be gitproxy add .

GitProxy can also be used interchangably with normal Git

    git add -A
    git commit -m "A very urgent test commit"
    gitproxy push origin master

GitProxy mostly serves a purpose for pushing to repos and such. For example gitproxy status does not really serve any purpose over the normal git status. That said, feel free to use however you like : )

Edit git config proxies

    # Open up a new https proxy in the git config
    gitproxy -u https

    # Delete the http proxy in the git config
    gitproxy -d http

GitProxy can set a new random proxy for you in the gitconfig; however, by running gitproxy as a git command, it could overwrite the old proxy with a new one under the conditions that the repo is using the same SSL protocol

List git config proxies

      gitproxy -l

# ======= OR ======= #

    gitproxy --list

gitproxy -l will list open proxies on either http or https and if there are any.

Help

    gitproxy -h

If you are ever stuck refer to the help menu with gitproxy -h or gitproxy --help. You can also see the different flag names there are.