Skip to content

About

Minimal, dependency-free helpers for parsing QTI 3.0 XML with DOMParser.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

qti-xml-core

Minimal, dependency-free helpers for parsing QTI XML with DOMParser.

Overview

This library provides small, focused utilities for parsing QTI 3.0 XML using the runtime's DOMParser.

Install

npm install qti-xml-core

Setup

  • Uses the runtime DOMParser when available; falls back to @xmldom/xmldom in Node.

Usage

import {
  extractItemIdentifier,
  parseAssessmentItemRefsFromXml,
  parseAssessmentTestXml,
  parseResultItemRefsFromXml,
  parseResultsXmlRaw,
  resolveAssessmentHref,
  resolveRelativePath,
} from "qti-xml-core";

Development commands

  • Build: npm run build
  • Test: npm test
  • Lint: npm run lint
  • Format: npm run format
  • Typecheck: npm run typecheck
  • Verify (all checks): npm run verify

Publishing

This package is published to npm as qti-xml-core.

Related Documents

About

Minimal, dependency-free helpers for parsing QTI 3.0 XML with DOMParser.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages