max-mapper / max-mapper/csv-write-stream

No headers written when no data has been written

Open
#33 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
203
Forks
34
PR merge metrics
No merged PRs in 30d

Description

For a project I prefer that headers are written even if no data has been written to the file. Is there a possibility for this tool to write headers without writing data rows?

Contributor guide

No contributing guide indexed for this repository

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

Start by reading the CSV encoder stream API and the path that writes headers and data rows. Determine how callers could request headers when no rows are written, then verify that an empty output contains the requested headers without any data rows.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.