Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileAttachment.of(file or blob or url) #245

Open
mbostock opened this issue Aug 23, 2021 · 1 comment
Open

FileAttachment.of(file or blob or url) #245

mbostock opened this issue Aug 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

It’d be nice to have a way to use the FileAttachment helpers with things that are not file attachments. E.g., https://observablehq.com/@mbostock/localfile

@Fil
Copy link
Contributor

Fil commented Nov 24, 2022

Similar suggestion for remote parquet files support in DuckDB:
https://observablehq.com/@monitus/get-remote-parquet-files-directly

I'm often something that's based on:

remote = require("@observablehq/stdlib").then((d) => d.FileAttachments(url => url))

(… except it also tries to detect and fix cors issues).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants