Skip to main content

Requirements

  • Node.js 22.14 or newer
  • A Unfold API key from the dashboard

Install the SDK

Parse a document

Unfold stores the document, creates a durable hosted job, waits for it to finish, and returns the normalized result. Its default timeout is ten minutes.

Use an environment variable

If FILEROUTER_API_KEY is set, you can omit the constructor options:
Prefer direct processing instead? See Processing modes before choosing a setup.