/ts-xml

A Typescript interface for building XML documents

Primary LanguageTypeScript

ts-xml

A Typescript interface (class-based and functional) for building XML documents.

Usage:

  1. Import either the OOP, or the functional variant:
import { OOPXMLNode as XMLNode } from '@tomiolah1998/ts-xml'; // OOP
import { FunctionalXMLNode as XMLNode } from '@tomiolah1998/ts-xml'; // Functional

// types - if needed
import {
  XMLAttributeValue,
  XMLAttributes,
  XMLNodeType,
} from '@tomiolah1998/ts-xml';