Skip to main content

NestJS Export Module

nestjs-export-module is a module for exporting data in NestJS applications.

It provides a single service API (DataExporterService) that delegates the export process to a provider selected by type.

Supported versions

  • NestJS: v11.x (package dependencies target @nestjs/common and @nestjs/core ^11)
  • Node.js: the version supported by your NestJS v11 setup

Features

  • ✅ Provider-based export types (currently CSV and Excel)
  • ✅ Single entry-point service: DataExporterService.exportAsync(...)
  • ✅ Uses json-2-csv for CSV and exceljs for Excel