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

grunt-workflow-hooks

v0.1.0

Published

The best Grunt plugin ever.

Downloads

2

Readme

#grunt-workflow-hooks

A streamlined NPM module to use in conjunction with grunt-githooks module so that portable OS agnostic githooks scripts are a reality.

Getting Started

First off you'll want to have grunt-githooks installed and configured in your project Gruntfile.js after that it's as easy as npm install workflow-hooks or adding the package to your package.json file and your good to go.

The scripts

archive-feature-branch.js

Ideally you want to get rid of that branch when you merge it right? I know do. Whatever I don't care what you think we are archiving that thing! But it will ask you again just to make sure when you do. This script will tag, archive, and delete that branch on a branch merge into master.

automatic-git-comments.js

So like you know how you waste a ton of time writing up witty commit messages and trying to remember what the hell you were working on 8 hours ago? If you made comments along the way like your supposed to then this will automatically parse them and add them to your git message. Eazy Cheezy.

commented-out-code.js

You really shouldn't be doing that... You know leaving commented out code in your commits. It looks sloppy and 10 months from now nobody will care what the heck you figured out even you.

forgotten-todos.js

If you want to be reminded of straggling forgotten todos or @TODO when you go to commit a file into version control history this will do just that. It will build a comprehensive list of todos in your current git diff and wait for instructions. You won't forget todo the todo ever again.

keywords-check.js

Let's clean up your code quality by checking for code that we almost never want to commit. Like var_dump() or console.log(). No more forehead slaps when you accidentally commit your code for a review and you look like a jerk because your xdebug_break()ing all over the place.

mixed-tabs-spaces.js

YUNO set your spacing profile? It looks like crap when you open that up in an editor that's setup "right" and screws up the tabs/spacing. Let's not do that you seem like a chump.

prepend-feature-branch.js

Oh yeah no more copy-pasting your feature branch name into your commit messages. Why is that useful to have in your commit message? Because you can track that crap down later even after it's been merged 1000xgrep the git logs or whatever.

remove-minified-files.js