@turystack/nestjs-file-transfer
v1.0.2
Published
Bulk import and export for NestJS: streams CSV, JSON and JSONL from a URL and to a multipart upload, records every row, stops before a deadline and resumes by byte range.
Readme
@turystack/nestjs-file-transfer
Bulk import and export for NestJS: streams CSV, JSON and JSONL from a URL and to a multipart upload, records every row, stops before a deadline and resumes by byte range.
Installation
pnpm add @turystack/nestjs-file-transferPeer dependencies
The host application provides these:
pnpm add @nestjs/common @nestjs/core @turystack/exceptions @turystack/nestjs-config @turystack/nestjs-http reflect-metadata zodFormats, one per subpath, each with its own parser: csv-parse and csv-stringify for @turystack/nestjs-file-transfer/csv, stream-json for /json. /jsonl needs nothing.
Documentation
Options, API reference and examples: src/FILE-TRANSFER.md, published at
https://tury.dev/libs/nestjs-file-transfer
Development
pnpm install
pnpm typecheck
pnpm check
pnpm test
pnpm build