Skip to content

Support for providing units with progress #172

Open

Description

@jsoref

In yarnpkg/lets-dev-demo#3 (comment) and yarnpkg/lets-dev-demo#3 (comment), I discovered that a project could reasonably want to write :elapseds to get (number of seconds)+s.

I spend a lot of time working w/ progress bars (I've worked on them in Mozilla, VirtualBox, Mercurial, and a number of other projects).

I can understand wanting to offer a time unit, it'd be nice if the node-progress API allowed for :elapsed_time or something which automatically provided a time unit. For something >70 seconds, it's probably better to list minutes, and for something >70 minutes, it's probably better to list hours, etc.

Activity

  1. jeprecated commented on Sep 5, 2022

    @jeprecated

    🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions