Skip to content

docs(examples): show reading CSV data from a file#3134

Open
lunadogbot wants to merge 1 commit into
mainfrom
orch/issue-110
Open

docs(examples): show reading CSV data from a file#3134
lunadogbot wants to merge 1 commit into
mainfrom
orch/issue-110

Conversation

@lunadogbot
Copy link
Copy Markdown
Contributor

Summary

  • add a file-reading variant to the CSV parsing example using Deno.readTextFile
  • include a sample data.csv file in the example page
  • update the local run command to show read permission

Fixes #2894.
Closes bartlomieju/orchid-inbox#110.

Verification

  • deno fmt --check examples/scripts/parsing_serializing_csv.ts
  • deno test -A examples/_pages/examples_test.ts
  • deno task build:light
  • confirmed _site/examples/parsing_serializing_csv/index.html includes Deno.readTextFile("./data.csv") and the data.csv snippet

Copy link
Copy Markdown
Contributor

@fibibot fibibot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. The added Deno.readTextFile("./data.csv") sample is consistent with the new @run -R main.ts metadata, and deno test -A examples/_pages/examples_test.ts passes with the multi-file snippet.

@fibibot
Copy link
Copy Markdown
Contributor

fibibot commented May 16, 2026

@bartlomieju this is ready to merge

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback: /examples/parsing_serializing_csv/ - Needs Improvement

2 participants