Developers · SDK & CLIAvailable
Tools for producing valid packages.
idop.mjs is the IDOP command-line tool in one file: no installation, no dependencies, no network. It carries the same validator as the reader, so “valid here” means “opens there”.
§ 01Command line
init, validate, pack, inspect.
# A new document's source folder
node idop.mjs init counter --title "Counter"
# Would a Reader accept it? (a folder or a packed file)
node idop.mjs validate counter
node idop.mjs validate counter.idop
# Build the file — deterministic; fills in the document id and dates
node idop.mjs pack counter -o counter.idop
# What does it declare and ask of the person opening it?
node idop.mjs inspect counter.idop
# Back to a folder
node idop.mjs unpack counter.idop -o counter-copy
# Machine-readable output
node idop.mjs validate --json counter.idop$ node idop.mjs inspect counter.idop
Counter — local.counter.app 1.0.0
format 1.0, document 4df56319-e383-4ae8-a519-faa7f4866f90
network: none — the document works fully offlineEvery refusal carries a stable code from the error registry. The tool passes the full conformance suite in our CI on every change. Licence: MIT OR Apache-2.0.
§ 02Building blocks
What you can use today.
idop.mjs
Runtime API types
idop-runtime.d.ts — TypeScript declarations for globalThis.idop, for completion and
checking in any editor.
Conformance suite
Language SDKs
Write with AI
JSON Schemas
$ids declare.
§ 03Without tools
You do not need an SDK to write a document.
An IDOP document is plain web code and one JSON file. Any editor will do. To pack one by hand, create a ZIP whose first entry is mimetype, stored without compression — most ZIP tools can do this with an option for the first file — then add idop.json and your code/ directory.
Then open it in IDOP Cloud: if anything is wrong, the reader refuses it and tells you which rule failed.
Start writing.
IDOP Cloud runs in the browser. Start from a template, open a file you were sent, or keep your own — no installation, and no account needed just to open a document.