tc39 / tc39/proposal-amount

List supported units

Open
#88 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
58
Forks
12
Avg merge
2h 35m
Merged PRs (30d)
2

Description

Especially if this list changes over time, but also regardless, i think there should be a way to list all of the supported units.

Ideally i think it’d be a function that produces a Map for cheap lookups (keys are a supported unit, values are an array of other units that it can convert to/from), but I’m sure there’s lots of ways to design it.

(It also occurred to me that a predicate “can convert between” might be useful, but you get that for free with the above data structure)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are mentioned. Start by reviewing the proposal's existing unit and conversion API, then determine how supported units and their conversion relationships should be exposed. Done means the public design specifies how to list supported units and whether the lookup or conversion predicate behavior is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.