Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including time-tracking with all npm packages installed. Try it out:

var timeTracking = require("time-tracking")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

time-tracking v2.0.0

Minimalistic command line time tracking.

time-tracking

Minimalistic command line time tracking.

asciicast

npm version build status dependency status dev dependency status chat on gitter support me on Patreon

time-tracking is ISC-licensed.

Installing

npm install -g time-tracking

Usage

track start <name>
track 1 <name>
    Start a new or resume an existing tracker. `name` must be a valid JSON key.
track stop <name>
track 0 <name>
    Stop an existing tracker.

track add <name> <amount>
track + <name> <amount>
    Add any amount of time to an existing tracker.
track subtract <name> <amount>
track - <name> <amount>
    Subtract any amount of time from an existing tracker.

track status <name>
track s <name>
    Show the status of a tracker.
track status
track s
    Show the status of all active trackers.

Options:
    -s, --silent     No output
    -p, --porcelain  Machine-readable output.

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free