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

todo-month

v1.6.0

Published

Make a markdown monthly todo, given time

Downloads

5

Readme

TODO-MONTH

Maintenance status published on npm!
Known Vulnerabilities Testing Status Test Coverage Maintainability


The tiniest little module for exporting a pretty md month of stuff to do

What it is:

A tiny node module that exports a blob of text to your clipboard when invoked. It pretty-prints your month into a series of days, with a single empty task pre-attached to each day. It pastes weekend days in full, while 3 character abbreviating all other days, so weekends stand out more. EG:

  ### 02-06-2017 - SUNDAY
  - 
  ### 03-06-2017 - Mo
  - 

This is really useful for people who like to make the most of their days, weeks, and months, and who like to use less intense todo systems like markdown editors (Marxico, IAWriter, Bear).

HOW TO USE IT:

  1. npm i -g todo-month || yarn add --global todo-month
  2. When in your month (like on the first): todo-month anywhere in your terminal
  3. For an upcoming month (like september): todo-month 2017-09 --reverse
  4. Bask in the pretty colors when the month is deposited in your clipboard
  5. After the first time you fire off a todo-month ...STUFF, it'll remember your options!
  6. Forever more all you'll have to do is run todo-month!

Let's get argumentative!

todo-month can be called with a dizzying number of arguments!

| Arg | Longform | Accepts | Description | Example | | :---------------: | :---------------: | :---------------: | :--------------- | ---------------: | | -c | --compat | void | swith - checkboxes to git-md-compat - [ ] | todo-month -c | | -r | --reverse | void | reverse the days, starting with the end of the month | todo-month -r | | -n | --next | void | use the next month, instead of this/the arg one | todo-month -n | | -w | --weekdays | void | don't list weekends in output month | todo-month --weekdays | | -T | --title | string | replace the title, optionally use month | todo-month -T "# --mmmm-yy tasks:" | | -t | --tag | string | replace the bottom categorization tag | todo-month --tag "#todo/nightly---yy" | | -d | --dog | void | replaces some characters with dogfaces | todo-month --dog | | -D | --moar-dog | void | replaces alot of characters with face of dog | todo-month -D | | -R | --reset | void | replaces any pre-existing config with only the args of this run | todo-month -Rd | | | | string | takes a date string as an input, and tries to use it | todo-month 10-12-1987 | | -f | --format | string | explained below in detail: format each day | todo-month -f "ddd-mm" |

The great formatting:

This app is capable of outputting a dizzying amount of date formats. The only nonstandard format is the one you get when you only run month-todo. If you pass it an arbitrary format string, you get that arbitrary format output! For example: todo-month -f "dddd - yy - mm"

  ### Saturday - 17 - 07
  - 
  ### Sunday - 17 - 07
  - 

Or if you really want to get wacky: todo-month -f 'yyy, dddd, dd, d, m, mm, y, bippipy yyyy'

  ### 17y, Saturday, 01, 1, 7, 07, y, bippipy 2017
  - 
  ### 17y, Sunday, 02, 2, 7, 07, y, bippipy 2017
  - 

Or simply: todo-month --reverse --dog -f 'ddd - yy'

  ### Mon 🐶 17
  - 
  ### Sun 🐶 17
  - 

And now supporting only scheduling weekdays! todo-month -w -f 'dddd'

  ### Friday
  - 
  ### Monday
  - 

These formats can also be used in the -T for title and -t for end-tag blocks, but you need to append a -- to them to get them formatted correctly. So # --mmmm-yy tasks: becomes:

  # January-18 tasks:

😊

TODO:

  • refactor construction of months/days to be more modular
  • implement random/even distribution of regular events
  • tests interacting with the command line