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

create-gitwrap

v1.0.1

Published

Git Wrapper Utility

Downloads

5

Readme

gitwrap

Git init & clone wrapper for multiple keys.

Warning This create- package is not a template. It will write to your system binaries. It also does not work on Windows.

Installation

pnpm create gitwrap

Note: You may need a GPG key already generated. You will need an SSH key. You will need pnpm globally installed.

  1. Select if you want to sign commits with GPG by default.
  2. Select your GPG Key and identity. It will autofill your username and email based on this when possible, aswell as specify this as your signing key within repos you init.
  3. If we couldn't identify your username and email, enter those under Username and Email
  4. Select your SSH key. This will be used for cloning repos and pushing. If you don't notice anything when normally using git, use the default.
  5. Optional: Select a binary name to write to - if this starts with git (ie git codeberg), it'll be used as a git alias. Otherwise, it'll be a standalone binary in ~/.local/bin (if your distribution does not have this, symlink it to a directory in your PATH you have access to).
  6. Optional: Change the default branch - this is used when initing
  7. Optional: Change the default subcommand - this is used when the command is called with no arguments.
  8. Select Finish, then press Yes to install.
  9. Congrats!

Usage

Git

Most commands are syntax 1:1 compatible, inclulsive subcommands

Clone

<gitwrap> clone <repo> [directory]

Init

<gitwrap> init [directory]

Other

Other commands are called 1:1, using git ...args. If no args are specified, the default subcommand is used.

Additional commands

Uninstall

<gitwrap> uninstall

Uninstalls the binary (and, when applicable, removes the git config entry).