New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

titimer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

titimer

A tinytimer with a countdown

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

TiTimer

Build Status Coverage Status

tiː ˈtaɪ.mər short of TinyTimer and also refers to TeaTimer

asciicast

A very simple CLI utility to run a timer for a specific period of time.

Written with 0 code dependencies (but uses module-alias just for import aliases)

Can parse a string in a format 1h20m30s. Extra blocks (hours and minutes) can be skipped, e.g. 30s.

Installation

npm i -g titimer

Usage

  • titimer 1h20m30s - runs a timer for 1 hour, 20 minutes, 30 seconds

  • titimer 20m30s - runs a timer for 20 minutes, 30 seconds

  • titimer 30s - runs a timer for 30 seconds

  • titimer -v - prints version

  • titimer -h - prints help

TODO

  • Make a pluralization for seconds output (now the output is 1 seconds)
  • Make an output string to output timer in n hours n minutes n seconds format (now the ouptut is 3600 seconds)
  • Show a system notification when timer is finished, with an opt-out parameter
  • Package to single executable and provide a cask for homebrew

Preview generation

  • cd ..
  • asciinema rec titimer/extra/preview.cast
  • titimer 3s
  • CTRL+d
  • cd -
  • npx asciicast2gif -s 2 extra/preview.cast extra/preview.svg

Keywords

titimer

FAQs

Package last updated on 16 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts