Library to generate TypeScript typings from XSD (XML Schema) files.
# Parsing from local filesystem
cxsd path/to/file.xsd
# Parsing from stdin
cat path/to/file.xsd | cxsd
# Parsing from url
cxsd https://www.example.com/sample-xsd.xsd
# Getting help
cxsd --help- Automatically download and cache to disk all imported .xsd files
- Convert XSD contents to Typescript equivalents
- Imports from remote URLs to imports from local relative paths
- Lists to arrays
- Annotations to JSDoc
Copyright (c) 2026 LoanLink
Based largely on work from BusFaster Ltd and WikiPathways.