Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as pomo from "https://raw.githubusercontent.com/EthanThatOneKid/pomo/main/mod.ts";

§Classes

Cycle

A Cycle is an array of numbers that repeat indefinitely.

Pomo

A Pomo is a cycle of work and break periods.

PomoCollection
PomoStamp

A PomoStamp is a stamp of a pomo at a given number.

§Variables

DAY
HOUR
HOURS_IN_DAY
MILLISECOND
MILLISECONDS_IN_SECOND
MINUTE
MINUTES_IN_HOUR
SECOND
SECONDS_IN_MINUTE

§Functions

format

Format a duration in milliseconds to a string.

parsePattern

parsePattern parses a string of numbers separated by non-digits.

§Interfaces

PatternOptions

Options for creating a pattern.

Timing

A timing is a set of periods and an interval.

§Type Aliases

Duration

A duration in milliseconds.