tsv-parser

2.0.3 • Public • Published

Simple TSV to JSON parse. Uses the first line as headers and returns an observable

Instalation

npm install --save tsv-parser yarn add tsv-parser

Use (uses rxjs)

import { parse } from tsv-parser
parse('http://fileLocation.tsv')
.subscribe(console.log)

With Google Sheets as data source

You can easily create a data source from a google sheet. You hace to publish it and select tsv format. That action will return a url. Then you only..

import { parse } from tsv-parser
parse(googleUrl.tsv)
.subscribe(console.log)

It's in spanish but you'll get the idea... image image

/tsv-parser/

    Package Sidebar

    Install

    npm i tsv-parser

    Weekly Downloads

    24

    Version

    2.0.3

    License

    MIT

    Last publish

    Collaborators

    • ponyesteves