Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/docxml/src/utilities/components.ts

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
import * as docxml from "https://deno.land/x/docxml@5.11.2/src/utilities/components.ts";

Functions

Transforms a list of (OOXML) XML nodes to component instances based on a list of possible component names. The component names must have been registered before using registerComponent.

Register a component in such a way that it can be found by its name later. Uses the class name as unique key.