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-labelmaker

v0.9.0

Published

Manage your GitHub labels from the command line!

Downloads

28

Readme

:flags: git-labelmaker travis-build-badge Coverage Status Join the chat at https://gitter.im/himynameisdave/git-labelmaker

Edit GitHub labels from the command line using git-labelmaker! You can easily add or remove GitHub labels, making it easier for your projects to adhere to a sane labelling scheme.

Install

Install git-labelmaker globally:

yarn global add git-labelmaker

OR

npm i -g git-labelmaker

Currently you must be using version >= 4.0.0 of node, because we're using some fancy-shmancy ES6 stuff (Promises are too awesome to not use), and also because the dependant package git-label also currently requires >= 4.0.0.

Use npm version >= 3.9.0,

Usage

Using this bad boy is a breeze. First cd into your git repository, run the command and follow the prompts!

git-labelmaker

Preview of git-labelmaker

Token

To interact with the GitHub API, you will need your own access token, which you can generate over here. Make sure your token has repo permissions.

Instead of having to enter your token each time, git-labelmaker will remember it and keep it secure for you while you instead only need to remember a password you create. You can make your password whatever you like - passwords are easier to remember than tokens!

Currently, git-labelmaker only supports calling the public GitHub API. If you are using GitHub Enterprise and have a custom API path, you might want to check out git-label instead.

Add Custom Labels

You can add your own labels one at a time. You will be prompted for your new label's text and color. Include the # in front of your 3 or 6 digit hex color. Add as many as you like!

Add Labels From Package

If you have a labels package in your current directory that you would like to use for adding labels, just supply the path and name of that file. So like if it's at the root of the current directory, just labels.json.

It must be a valid, parsable JSON file (although the extension doesn't matter). Check out these really good ones if you need a template.

Create Package From Labels

Create a git label package from the current labels on a repo, so that you can easily use it again.

Remove Labels

You can also remove labels. Just select the ones you want to ditch and :boom: they're gone.

Contributing

Feel free to contribute to the project by opening a Pull Request, filing a new issue, or by barking at me on the twitters.

Related Stuff:

  • git-label by jasonbellamy, which git-labelmaker uses to add and remove labels
  • git-label-packages is a really good set of default packages if you really want to level up your projects
  • git-label-faces is a joke package set that you should totally never use for real
  • Sane GitHub Labels - an article I wrote about the importance of a good, rational labelling system in your projects

Created by Dave Lunny in the glorious year of 2017. Licensed under MIT :hand: