UNPKG

facturacionelectronicapy-ts-xmlgen

Version:

Genera el contenido del archivo XML del Documento electrónico exigido por la SET

13 lines (12 loc) • 313 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** Schema Description Parser */ class SDParser { stringify(id, schema = {}) { return JSON.stringify({ id, ...schema }); } parse(schema) { return JSON.parse(schema); } } exports.default = new SDParser();