observable-framework-files
Installation
SKILL.md
Files
Observable Framework documentation: Files Source: https://observablehq.com/framework/files
Load files — whether static or generated dynamically by a data loader — using the built-in FileAttachment function. This is available by default in Markdown, but you can import it explicitly like so:
import {FileAttachment} from "observablehq:stdlib";
The FileAttachment function takes a path and returns a file handle. This handle exposes:
name- the file’s name (such asvolcano.json),mimeType- MIME type (such asapplication/json),lastModified- modification time (in milliseconds since epoch), andsize- size in bytes .