Skip to content

A node module designed to make reading in large files as easy as calling one function.

Notifications You must be signed in to change notification settings

sidneyarcidiacono/data-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

📑 DataParser

NPM version NPM downloads Build Status

An npm module that streams your data for you.

Features

  • Efficiently create a data stream by calling a single function.

  • Let DataParser do all the heavy lifting!

Installation

Install locally for any project:

npm install @sidarcidiacono/dataparser --save

Note: --save is the default behavior, and is provided simply for clarity.

Usage

DataParser provides the streamData method. To get started, you can require it:

const { streamData } = require('dataparser')

Then, you just need to provide your:

  • filePath as a string
  • mode

Example:

data = streamData('/path/to/data.txt', 'utf8')

And you're done! That's all there is to it!

About

A node module designed to make reading in large files as easy as calling one function.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published