Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@cfware/csv-parse

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfware/csv-parse

Tiny CSV string parser

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@cfware/csv-parse NPM Version

Tiny CSV string parser

Usage

import parse from '@cfware/csv-parse';

parse(string, maxRows = Infinity)

Parse the JavaScript string into an array of rows where each row is an array of columns. Setting maxRows causes the parse to escape early.

Attribution

This is based on code from dom-csv.js which is based on ucsv. The goal of this rewrite is have the smallest possible ES module which parses CSV.

FAQs

Package last updated on 15 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts