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

autopr

v1.0.3

Published

procrastinate on naming your git branches

Downloads

9

Readme

autopr

Do you ever feel crippled by the anxiety of having to decide the name of a branch to create in Git, before you're sure what you're doing next?

autopr is a new tool that lets you procrastinate on this most particular of modern plights!

Now you don't have to decide what to name a branch until the last-possible moment— mere seconds before you poke your coworkers to review your pull request!

With autopr you'll have the idle time while coding to mull over a better branch name with more brevity or wit. Maybe with the additional time, you'll even earn a fleeting grin or muted groan!

And for those situations where you poke around a bit and realize there's something else that you should be doing instead— you won't find your git branch littered with the carcasses of intentions that fell by the wayside.

Will autopr solve world hunger? Nah. But at least it probably won't cause it. probably.

how to use it

  1. Commit your changes on top of master with reckless abandon

  2. Instead of pushing, run apr my-new-branch-name and it'll transfer all your your new my-new-branch-name branch, while resetting master to its old state. It'll then automatically push my-new-branch-name to the remote origin, and open the pull request creation wizard in your browser.

  3. Grab a nerf gun to prod those unfortunate souls around you deigned to review your request

how to install it

npm install -g autopr

This will install the autopr command and its more suave and stylish nom de guerre apr

atomicity and stuff

The author of this library has taken great pains to make the library essentially "atomic". That is, if you press Ctrl-C while the command is running and interrupt it- it'll undo what it has done so you don't wind up in some silly intermediate state.

Thus if you make a mistake and didn't really mean to move your committed changes into a new branch and push it to the remote, you have a few precious seconds to abort, and it'll be as if you hadn't run apr at all.

what else

I donno.