Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nodecfdi/cfdi-core

nodecfdi1.6kMIT1.0.1TypeScript support: included

Librería que contiene las herramientas base para trabajar con CFDI's

cfdi, cfdiutils, elements, xml, dom, structure, node

readme

@nodecfdi/cfdi-core

Source Code Npm Node Version Support Discord Latest Version Software License Build Status Reliability Maintainability Code Coverage Violations Total Downloads

Library of @nodecfdi/cfdi-core tools and utilities for work with CFDI´s

:us: The documentation of this project is in spanish as this is the natural language for intended audience.

:mexico: La documentación del proyecto está en español porque ese es el lenguaje principal de los usuarios.

[!WARNING] This package is native ESM and no longer provides a CommonJS export. If your project uses CommonJS, you will have to convert to ESM. Please don't open issues for questions regarding CommonJS / ESM.

Acerca de @nodecfdi/cfdi-core

Librería que contiene las herramientas base para trabajar con CFDI's.

Librería inspirada por la versión para php https://github.com/eclipxe13/CfdiUtils modularizada.

Documentación

La documentación está disponible en el sitio web NodeCfdi

Soporte

Puedes obtener soporte abriendo un ticket en Github.

Adicionalmente, esta librería pertenece a la comunidad OcelotlStudio, así que puedes usar los mismos canales de comunicación para obtener ayuda de algún miembro de la comunidad.

Compatibilidad

Esta librería se mantendrá compatible con al menos la versión con soporte activo de Node más reciente.

También utilizamos Versionado Semántico 2.0.0 por lo que puedes usar esta librería sin temor a romper tu aplicación.

Contribuciones

Las contribuciones con bienvenidas. Por favor lee CONTRIBUTING para más detalles y recuerda revisar el archivo CHANGELOG.

The @nodecfdi/cfdi-core library is copyright © NodeCfdi - OcelotlStudio and licensed for use under the MIT License (MIT). Please see LICENSE for more information.

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.0.1

Commits

  • chore: :arrow_up: update dependencies d548a5d
  • style: :rotating_light: resolve issues reported by eslint and prettier b7a6277
  • docs: :memo: - update readme with legend only esm 286227d

v1.0.0 - 2025-04-23

Commits

  • docs: :memo: - change generation of docs using github theme bb35251
  • chore(release): :tada: 1.0.0 2c02751
  • build: :construction: - update build for usage tsup and replace index on root d09c7a5

v0.6.2 - 2024-10-14

Commits

  • chore(release): :tada: 0.6.2 d8e2270
  • chore: :arrow_up: update dependencies 4d6e4eb
  • style: :rotating_light: enable sonarjs in eslint and resolve all issues reported by eslint e36e9a6

v0.6.1 - 2024-10-04

Commits

  • refactor: :recycle: remove old doc generate files 81c252d
  • chore(release): :tada: 0.6.1 ae3b891
  • perf: :zap: remove unnecessary export package.json file af6403b

v0.6.0 - 2024-10-04

Commits

  • chore(release): :tada: 0.6.0 cf994bf
  • refactor: :recycle: remove browser dom types and usage types provider by xmldom for usage in node 8abe386
  • chore: :arrow_up: update dependencies and usage latest xml-dom release 7ca449c

v0.5.1 - 2024-09-04

Commits

  • chore(release): :tada: 0.5.1 de36aaf
  • chore: :arrow_up: update dependencies, add support to eslint 9 and update changelog tool generator 527cec7
  • refactor: :recycle: apply refactor for usage xmlns namespace enum on xmlnode importe 8c3de81

v0.5.0 - 2024-08-14

Commits

  • chore(release): :tada: 0.5.0 849c98e
  • perf: :sparkles: add shared enums from xmldom f5bf2e0

v0.4.3 - 2024-08-12

Commits

  • chore(release): :tada: 0.4.3 caa0f5e
  • fix: :bug: resolve problem with bad definition type using xmldom 5b41f1f

v0.4.2 - 2024-08-12

Commits

  • chore(release): :tada: 0.4.2 ee88b4b
  • fix: :bug: resolve bad generation of dom implementation in core f732904
  • chore: :arrow_up: update dependencies 6113524

v0.4.1 - 2024-08-08

Commits

  • chore(release): :tada: 0.4.1 735b501
  • chore: :arrow_up: update dependencies 6eb4264
  • refactor: :recycle: use latest exports of library xmldom 4589af1

v0.4.0 - 2024-07-28

Commits

  • chore(release): :tada: 0.4.0 65d36b1
  • feat: :sparkles: add number utility helpers cf302df
  • fix: :bug: resolve problems reported by sonarcloud f73db27

v0.3.1-0 - 2024-07-25

Commits

  • chore(release): :tada: 0.3.1-0 5a175f8
  • refactor: :recycle: intent usage of paths using package.json imports a3a394c
  • chore: :arrow_up: update dependencies and apply changes for latest releases ce1a1cd

v0.3.0 - 2024-07-09

Commits

  • chore(release): :tada: 0.3.0 abcf944
  • test: :white_check_mark: add test of alias has of attributes in XmlNode 598fbf1
  • feat: :sparkles: add method hasAttribute on xml node and xml node interface 4c1297b

v0.2.0 - 2024-07-08

Commits

  • docs: :memo: generate docs and good output ccc0b5d
  • build: :wrench: update workflow for generate publish apps remove dev ref 14ba615
  • chore(release): :tada: 0.2.0 9951b47

v0.1.1 - 2024-07-03

Merged

  • v0.1.1 #1

Commits

  • docs: :memo: generate docs 5fa869e
  • chore: :arrow_up: update dependencies 951b2d2
  • ci: :green_heart: move to usage test workflow on organization c93c71a

v0.1.0 - 2024-04-21

Commits

  • docs: :memo: add generate docs with typedoc 5f26bf7
  • feat: :sparkles: add xml nodes, xml utils and dom utils 68ec272
  • docs: :memo: add missing doc files 62befa8