A TypeScript/JavaScript implementation of XML security standards using Web Crypto API for both browsers and Node.js.
This monorepo contains three interconnected packages:
A foundational library for working with XML in JavaScript/TypeScript with schema validation through decorators.
XML Digital Signature implementation based on Web Crypto API with support for various cryptographic algorithms and canonicalization methods.
XML Advanced Electronic Signatures (XAdES) implementation that extends XMLDSIGjs with additional signature formats and metadata.
Each package can be installed independently:
npm install xml-core # Core XML utilities
npm install xmldsigjs # XML Digital Signatures
npm install xadesjs # XML Advanced Electronic Signatures
All packages work in:
- Modern browsers with Web Crypto API support
- Node.js WebCrypto (official API) and Web Crypto polyfills (webcrypto)
- Hardware Security Modules via node-webcrypto-p11
MIT License. See individual package directories for specific license files.