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 🙏

© 2026 – Pkg Stats / Ryan Hefner

work-report

v1.1.2

Published

Generate weekly work reports from Git commit history across all branches

Readme

work-report

npm version License: MIT

Generate work reports from Git commit history across all branches.

Installation

npm install -g work-report

Or run directly with npx:

npx work-report

Usage

Run in any Git repository to generate a report:

work-report

Options

| Option | Description | |---------------------|------------------------------------------| | --author="Name" | Filter commits by author | | --me | Use current git user as author | | --output=file.md | Specify custom output file path | | --period=<type> | Period type (default: week) | | --from=YYYY-MM-DD | Start date for custom range | | --to=YYYY-MM-DD | End date for custom range | | --help | Show help message |

Period Types

| Period | Description | |-------------|------------------------------------------| | week | Last week (Sunday to Saturday) - default | | thisweek | Current week so far | | month | Last month | | thismonth | Current month so far | | quarter | Last quarter | | year | Last year | | thisyear | Current year so far |

Examples

# Generate report for last week (default)
work-report
# Generate report for current git user's commits
work-report --me
# Generate report for last month
work-report --period=month
# Generate report for current week so far
work-report --period=thisweek
# Generate report for last quarter
work-report --period=quarter
# Generate report for last year
work-report --period=year
# Custom date range
work-report --from=2026-01-01 --to=2026-01-31
# Filter by specific author
work-report --author="John Doe"
# Combine options
work-report --me --period=month --output=my-monthly-report.md
work-report --author="John Doe" --period=quarter --output=quarterly-report.md

Output

The tool generates:

  1. Console output - Summary displayed in the terminal
  2. Markdown file - Detailed report saved to work-report/ folder in your project root The report includes:
  • Date range for the selected period
  • Total commit count
  • Summary table by branch
  • Detailed commits grouped by branch

Output Location

By default, reports are saved to a work-report/ folder in the root of your Git repository:

your-project/
+-- work-report/
�   +-- work-report-Feb-09-2026-to-Feb-15-2026.md
+-- src/
+-- ...

Use --output to specify a custom file path.

Requirements

  • Node.js >= 14.0.0
  • Git installed and accessible from command line
  • Must be run inside a Git repository

License

MIT