An open API service indexing awesome lists of open source software.

https://github.com/slaveofcode/example-file-writestream

Example File Writestream for Excel, CSV and Plain Text
https://github.com/slaveofcode/example-file-writestream

Last synced: 3 months ago
JSON representation

Example File Writestream for Excel, CSV and Plain Text

Awesome Lists containing this project

README

          

# File WriteStream

## Getting started

This project is a prove of concept for writing large datasets with a different types of files using streaming methods. Currently only these cases are covered:

- XLSX (Excel file)
- CSV
- Text (Plain Text)

![](./assets/console.gif)

## Setup

Clone this project to your local machine, and do the installation via:

> npm install

## Running The Example

In Typescript Version via `ts-node`
> npm start

In JS Version
> npm run build

> npm run start:js

## File Result

After running some example, check generated file at `files` directory according to the file type you've been choosing before (e.g. `.xlsx`, `.csv`, `.txt`).