@nexpress/wp-import
v0.3.26
Published
WordPress (WXR) importer for NexPress — HTML to Lexical conversion, media pipeline, taxonomies, comments.
Downloads
1,569
Maintainers
Readme
@nexpress/wp-import
WordPress (WXR) importer for NexPress. Ingests an exported WXR file end-to-end: WXR XML parsing, HTML → Lexical conversion (including a Gutenberg block-fence parser), media download + dedup, taxonomy/term mapping, comment threading, custom post types, an audit log, and a resume marker for crash recovery.
Gutenberg conversion preserves inner content for unknown custom blocks and surfaces conversion warnings in the apply report, so operators can focus manual cleanup on the records that need it.
Install
pnpm add @nexpress/wp-importUsage
The importer drives a long-running pg-boss job — surface state through
the standard NexPress jobs admin (/admin/jobs). For the CLI entry
and the full guide:
Stability
Per the
Stability section in AGENTS.md:
the CLI surface (packages/wp-import/src/cli/) is stable; the
parse/ / convert/ / media/ / apply/ modules are NOT a public
API — importing from them will break across versions.
License
MIT
