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

@poutine/timeular-cli

v0.4.3

Published

Manage your Timeular reporting and time tracking

Downloads

13

Readme

Timeular CLI

At my current workplace we use Jira, but it's a version that is not easily compatible with the integration that Timeular offers. So, those of us who use Timeular needed a way to generate a report of how much time we spent on each task (flagged with Mentions, per Timeular's Jira integration standard). I built this CLI so we can add the time to our timesheets at the end of the day more quickly.

This is a personal project, and updates to this will primarily be sporadic and as I need it. Pull Requests welcome.

Requirements

You have to have a Timeular account, using the Timeular app. The physical device is optional (but badass)

Installation

Update your .bashrc or .zshrc to include the following environment variables:

export TIMEULAR_API_KEY="XXXXXXXXXX"
export TIMEULAR_API_SECRET="YYYYYYYYYY"

You can get the values for these fields by visiting your Account page on Timeular

via NPM

$ npm install -g @poutine/timeular-cli

via Yarn

$ yarn global add @poutine/timeular-cli

How to Use

Time Report

Generates a report based on the current date, filtered by your Mentions (@)

$ timeular report [startDate]

[startDate] needs to be in a YYYY-MM-DD format.

This will not show any time entries that have not been flagged by an @ mention. For my purposes, this is useful, because I only need to clock time that I have flagged to Jira issues. It will bunch all non-mentioned time into "non-billable"

Example output:

Report for July 12th, 2019
┌───────────┬──────────┐
│  (index)  │  Values  │
├───────────┼──────────┤
│  AAA-166  │   0.07   │
│  AAA-196  │   0.68   │
│   BBB-1   │   0.11   │
│ INTERNAL  │   0.15   │
│ INTERNAL  │   1.30   │
└───────────┴──────────┘
Non-Billable :  0.35
Billable     :  2.31
Total Hours  :  2.66

Road Map

  • Set up the reporting so you can specify a date range rather than a single day
  • Get specific Activity or Mentions
  • Move console.log into its own library, with colors and fancy displays depending on status
  • Start and stop timers
  • Everything that the API currently does(?)

Contributors

Chris Lagasse [email protected]