Options
All
  • Public
  • Public/Protected
  • All
Menu

Module csvviewer

Index

Type aliases

IParser

IParser: (options: IOptions) => IResults

Type declaration

Functions

parseDSV

  • Parse delimiter-separated data.

    Parameters

    Returns IResults

    An object giving the offsets for the rows or columns parsed.

    Notes

    This implementation is based on RFC 4180.

parseDSVNoQuotes

  • Parse delimiter-separated data where no delimiter is quoted.

    Parameters

    Returns IResults

    An object giving the offsets for the rows or columns parsed.

    Notes

    This function is an optimized parser for cases where there are no field or row delimiters in quotes. Note that the data can have quotes, but they are not interpreted in any special way. This implementation is based on RFC 4180, but disregards quotes.

Generated using TypeDoc