stdlib
stdlib copied to clipboard
The Observable standard library.
even though Arrow doesn't know what to do with the empty array, it seems to me that > `a = DuckDBClient.of({ name: [] })` should not throw an error. I'm...
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
https://github.com/observablehq/stdlib/blob/6058924f39cb437cf627e5621d493846ebcf6ec7/src/duckdb.js#L58 introduces a copy that may not be needed. As soon as Arrow is supported as an output format, it would be good to remove this call.
The `README.md` file doesn't list the set of [recommended libraries](https://observablehq.com/@observablehq/recommended-libraries) included in the stdlib (but it should!).
The third argument to DOM.context2d can be an options object with {scale, colorSpace}, allowing the creation of wide-gamut graphics on supported hardware and software. Note: this necessitates a try/catch because...
await FileAttachment("mydata.xls").xlsx() dosen't work. Only xlsx files work.
Open questions (with my inclination): * Should we pass-through columns that are not mentioned without typing? (Yes. At the end?) * Should we support the “drop” type, if we want...
Upstream issue with ExcelJS: https://github.com/exceljs/exceljs/issues/1437 Originally reported to us by @aaronkyle. I'll try opening a PR to fix in ExcelJS…
This is roughly the same approach as taken [by Grant Nestor](https://observablehq.com/@gnestor/pyodide-demo), although I made some changes to fix falsey value interpolation and to adopt the recommended/public APIs such as [runPythonAsync](https://pyodide.org/en/stable/usage/api/js-api.html#pyodide.runPythonAsync)...