browser_loader library

Provides loaders in browser environment

requestLTsv parses TSV files fetched from HTTP requests.

readLTsv parses TSV files opened through file input element.

Classes

ColumnConverter
Utility functions to convert dynamic columns in tables to typed columns
CsvParser
Parser of CSV-like file formats
Table

Constants

tsvParser → const CsvParser

Functions

encodeCsv(List<List> data, {String fieldSep = ',', String textSep = '"'}) String
parseCsv(String buffer, {String fieldSep = ',', String textSep = '"', bool multiline = true}) List<List<String>>
Parses the given CSV buffer
parseLCsv(String buffer, {String fieldSep = ',', String textSep = '"', bool multiline = true}) Table
Parses the given labeled CSV buffer
parseLTsv(String buffer) Table
Parses the given labeled TSV buffer
parseTsv(String buffer) List<List<String>>
Parses the given labeled TSV buffer
readLTsv(Blob file, {Encoding encoding = utf8}) Future<Table>
Reads file/blob as labeled TSV file
requestCsv(String url, {String fieldSep = ',', String textSep = '"', bool multiline = true}) Future<List<List<String>>>
Downloads the TSV file from specified url and returns the parsed data
requestLCsv(String url, {String fieldSep = ',', String textSep = '"', bool multiline = true, int headerRow = 0}) Future<Table>
Downloads the TSV file from specified url and returns the parsed data
requestLTsv(String url) Future<Table>