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

vscolorcode

v1.2.0

Published

Quickly change the color of your vscode window bar

Downloads

19

Readme

vscolorcode

Set your VS Code window color quickly and easily

What is it?

vscolorcode is a nifty little package that will make edits to your .vscode/settings.json file to color each of your projects differently. It will only affect the colors of the window bars, and wont alter any other settings. It will create the file if you haven't already.

Install

This is a global NPM package so install with:

npm i -g vscolorcode

Once installed, you can use the vscolor command in the terminal to quickly color your VS Code window's title and activity bar.

Using the preset colors

There are 7 default colors to choose from: red, orange, yellow, green, blue, purple, and black. To use one simply do:

vscolor blue

Using custom colors

Why limit yourself to only 7 colors? By using the -c option, you can create any color combos you like. You can pass 1, 2, or 3 hex codes with the -c option. DO NOT use the #, just put the hex value. Depending on how many hex codes you pass in, here is what they mean:

vscolor -c 012345 
# colors the title and activity bar the given color, and defaults text to #FFF

vscolor -c 012345 010101
# colors the title and activity bar the first color, and the second is the title bar font color

vscolor -c 012345 129945 010101
# title bar color, activity bar color, text color

Setting up aliases

If you don't want to type all that out every time, use the --alias option to list out the preset colors and a template for the custom ones, and then just copy it into wherever you keep your bash aliases. Or, you could just copy them from here:

# VSCOLORCODE COLORS
alias vsred="vscolor red"
alias vsorange="vscolor orange"
alias vsyellow="vscolor yellow"
alias vsgreen="vscolor green"
alias vsblue="vscolor blue"
alias vspurple="vscolor purple"
alias vsblack="vscolor black"
# alias [CUSTOM COLOR HERE]="vscolor -c [TITLE BAR HEX] [ACTIVITY BAR HEX] [FONT HEX]"
alias vsgray="vscolor -c 999 222 FFF"    # do not use \'#\' with the hex codes\n'

Contribute

Feel free to shoot me an email at [email protected] or just PR this repo. I made this real quick so I'm sure there are lots of other neat features that could be added.