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 as volcano.json),
  • mimeType - MIME type (such as application/json),
  • lastModified - modification time (in milliseconds since epoch), and
  • size - size in bytes .
Related skills
Installs
3
First Seen
Feb 28, 2026