Request: export `ticker`

Open
#61 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
api

Research direction

The request is to export ticker() from src/ticks for projects building timezone-aware scales. Start by reading that module and the package's existing export conventions. Done means consumers can import ticker() from the requested internal module; the issue gives no test file or verification command.

Written by the indexing model from the issue text.

Description

Hey guys,
Thanks for maintaining this.

Is there any chance of exporting ticker() from src/ticks? There are a few projects around that try to use this machinery to build a timezone-aware scale (e.g. https://github.com/yamass/d3-luxon/blob/main/src/scale/scaleZoned.js) . Without ticker being exported, these have to reimplement it from scratch.
I'm aware that you probably don't want it part of your stable API, but even exporting it from the internal module in src would be appreciated so users can swim with sharks if they accept the risk.

Thanks again!
Jarrad

Dominant language
JavaScript
Stars
238
Forks
55
Avg merge
6h 15m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from d3/d3-time

All issues in d3/d3-time

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.