Skip to content

🔧 An npm module that allows one to convert files delimited by any particular character or break into JSON (such as CSV or TSV files)

Notifications You must be signed in to change notification settings

krrishd/_sv2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

_sv2json

_sv2json is a simple tool to convert files delimited by certain characters/breaks into JSON files.

For example, it allows you to convert CSV or TSV (tab separated values) into JSON.

Usage

First, install _sv2json to your project:

$ npm install sv2json --save

Then, include it in your script/project:

var _sv2json = require('sv2json');

You can then use it as such:

/*
* We assume that the variable 'tsvData' contains data delimited by tabs (\t)
*/

var jsonVersionOfTsvData = _sv2json(tsvData, '\t');

About

🔧 An npm module that allows one to convert files delimited by any particular character or break into JSON (such as CSV or TSV files)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published