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

pom-parsley

v0.0.1

Published

A custom timesheet parser, inspired by the Pomodoro Technique

Downloads

12

Readme

PomParsley

A custom timesheet parser, inspired by the Pomodoro Technique

Requirements

Node >= 4.45

Installation

npm install pom-parsley

Usage

var pomParsley = require('pom-parsley');
pomParsley('10/10/2010\n 10 Did cool things'); //=> a stats object

Tests

npm test

How the System Works

Here are an example of tag definitions, used for organizing broad "areas of focus":

C Coding and Tools-related
R Rails and Ruby (Reading/Coding/Testing)
D Desktop Power-user
F Friendship (Requested/Proactive)
W Front-end Web Development

! Milestone
^ De-procrastination (Lapse/Hiatus)
& Practical (Proactive/Urgent)
~ Waffling Obsession (Obstacular/Malingering)

And here is an example of a busy day with the pomsheet:

5/21/2014

0.5 &WW^ Workthrough: SEL Html 5 -> 29% X
1.5 & Renoise: read forums on secondary highlighting, 3.0 release notes X
3 &E Read: The Launchpad -> 22% X
3.5 &DD Virtualization: get VMware running Windows 7, troubleshoot lack of 3D support  X
4 &DD Virtualization: noodle through driver issues, add PPA's and try to install drivers X
5 &DD! Virtualization: enable SNA, abandon VMware, test Space Shooter in Chrome, better! X

6 &RR Opal: see how D3 class works again, continue animation chaining     X
7 &RR Opal: get animation chaining to work ala tutorial! Try imitating #on behavior X
8 &RR! Opal: fix animation chaining in functionless condition, try mixed chaining   X
8.5 &RR Opal: ponder when to toggle on_branch_already, relent on mixed, remove debug lines X
9 ~W Opal: start binding example, question wrapper viability while looking at docs  X

10.5  &^ Fiction Read: Snowcrash -> 60 X

20.5  &CCF Scala: Install Eclipse, get "Hello World" to compile and worksheet output    X
21  &CCF Scala: work through the example tutorial and figure out how to import projects X
21.5  &CF Scala: get tests running in Eclipse, work through b-tree X 

22  &DD Scala: fix swap partition, verify sbt and Eclipse will run simultaneously  X
22.5  &D Ubuntu: read about keyring issue, try a few things, delete the damn thing  X   

Dates get their own line, written in M/D/YYYY format.

The task lines have the following properties:

  • The number at the beginning of each line is the time, estimated to the nearest half-hour. For example, 6:30pm would be written as "18.5", 8am would be written as "8". This is the time at which a session of pomodoros is FINISHED.
  • The time is optionally followed by a short tag (eg. "&CCF"). By convention, symbol tags delineate momentum and motivation tags (eg. "Waffling Obsession" for "~") while letters delineate subject areas. Also by convention, single letter tags denote input, double letters denote output. For example, "R" would typically mean reading about Ruby, "RR" would mean programming in Ruby. Tags can be whatever you want.
  • The single-letter tag is optionally followed by a category definition (ie. "Scala" or "Opal"), a description of the task, and the number of poms spent on the task.
  • A hash rocket can be affixed to names of books to indicate the position the last page read during a pom session.

Disclaimer: Please use this at your discretion. It is currently only intended for personal use!

Contributing

You probably don't actually want to contribute to this. At some point, I'll rewrite it properly and document the output format. For the time being, it's kind of a one-off for a timesheet that I still happen to use.