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-done-maybe

v1.1.1

Published

What you did on the last working day ..or what someone else did.

Downloads

5

Readme

git-done-maybe

What you did on the last working day ..or what someone else did. Inspired by git-standup and need to have compact multiple repo access.

npm-url

git done-maybe

Install

To install git-done-maybe library via npm

$ npm install -g git-done-maybe

Usage

$ git done-maybe [--a=<author name>] 
                 [--d=<days-ago>] 
                 [--df=<date-format>] 
                 [--m] 
                 [--f] 
                 [--s]
                 [--r]
                 [--h]

Below is the description for each of the flags

  • --a - Specify author to restrict search to (if not specified, will return all contributors)
  • --d - Specify the number of days back to include (default: 1)
  • --df - Specify the date format for "git log" (default: relative, options: local|default|iso|iso-strict|rfc|short|raw)
  • --m - Specify the multiple git projects search in target directory
  • --f - Fetch the latest commits beforehand
  • --s - Display stats for the commits (files changed, insertions, deletions)
  • --r - Export report for current logs to file
  • --h - Display the help screen

For the basic usage, all you have to do is run git done-maybe in a repository.

Single Repository

To check all commits from last working day, head to the project repository and run

$ git done-maybe

Multiple Repository

Open a directory having multiple repositories and run

$ git done-maybe --m

This will show you all commits since the last working day in all the repositories inside.

Checking commits for specific contributor

If you want to find out someone else's commits

# If their name on git is "Charles Lee"
$ git done-maybe --a="Charles Lee"

# Or if their email on git is "[email protected]"
$ git done-maybe --a="[email protected]"

Commits from n days ago

If you would like to show all your/someone else's commits from n days ago

# Show all commits from 7 days ago
$ git done-maybe --d=7

# Show all Charles Lee's commits from 7 days ago
$ git done-maybe --a="Charles Lee" --d=7

Specifying the output date format

Add --df flag to specify the date format (default: relative)

$ git done-maybe --df=iso
# Available relative|local|default|iso|iso-strict|rfc|short|raw

Fetch latest commits before showing result

If you would like to automatically run git fetch --all before printing the result, you can add the --f flag

$ git done-maybe --f

Show statistics for all commits

If you would like to show how many files are changed (with insertions/deletions) per commit, you can add the --s flag

$ git done-maybe --s

Export report for all commits

If you would like to export report to specific file after printing the results, you can add the --r flag

$ git done-maybe --r
# You will be prompted to enter name for report file

License

MIT