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

common-time

v0.0.9

Published

Find common time for group meeting

Readme

common-time

Find common time for group meeting

npm Package Version

Remark

  • Excel template can be downloaded: TimeList-2020-January.csv
  • Timeslot fragments shorter than 15 minutes are skipped by default.

Installation

npm i -g common-time

Cli Usage

  1. Share a sheet with participants, google sheet, USB file, or whatever medium
  2. Each participants input their available timeslot
  3. Save the file as csv under a folder
  4. cd to the above folder in a terminal
  5. Run common-time
  6. The common available and unavailable timeslot will be saved in the csv files

You can specific the path to folder as common-time path-to-folder. It will scan all the csv files (non-recursively) in the specific folder.

CSV File Format

| Month | Participant 1 | ... Participant N | |---|---|---| | Day | timeslot | timeslot | | ... | ... | ... |

Extra columns after the Participant N separated by a blank column will be ignored

Timeslot format

| Example | Meaning | |---|---| | 0900-1200 | 9am to 12nn available | | 09:00-12:30 | 9am to 12.30 nn available | | ALL DAY | whole day available | | N/A | whole day not available | | 0900-1200, 1700-1900 | 9am to 12nn and 5pm to 7pm are available |

Example CSV File

Sample Input

| January | Alice | Bob | Cherry | Dave | |---------|-----------|------------|-------------|---------------------------------| | 14 | 0900-1200 | 9:00-16:00 | N/A | 0900-1200, 1700-1800, 2100-2200 | | 15 | 1300-1700 | 18:00-1:00 | | 0900-1900 | | 16 | 1700-2200 | 18:00-1:00 | 16:00-22:00 | 1900-2200 | | 17 | 1300-2200 | 17:00-1:00 | All day | 0900-2200 | | 18 | 2000-2200 | N/A | N/A | 0900-2200 | | 19 | 1700-2200 | All day | N/A | 0900-2200 | | 20 | 0900-2200 | 1700-2200 | All day | 0900-2200 | | 21 | 0900-1500 | N/A | All day | 0900-2200 | | 22 | 0900-2200 | N/A | N/A | 0900-2200 | | 23 | 1400-2200 | 18:00-1:00 | N/A | 1900-2200 | | 24 | 0900-1500 | 1700-2200 | N/A | 0900-2200 |

Sample Output

| Common NA | Common A | |--------------------------|-------------| | ALL DAY | | | ALL DAY | | | 00:00-18:59, 22:01-23:59 | 19:00-22:00 | | 00:00-16:59, 22:01-23:59 | 17:00-22:00 | | ALL DAY | | | ALL DAY | | | 00:00-16:59, 22:01-23:59 | 17:00-22:00 | | ALL DAY | | | ALL DAY | | | ALL DAY | | | ALL DAY | |

API Usage

TODO write details

import { start } from 'common-time/src/main'

// inplace file update
start({
  dir: 'your-csv-folder',
  minimum_duration_in_minutes: 15,
})