Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 16, 2024 via pnpm

fast-csv 4.3.6

CSV parser and writer
Package summary
Share
0
issues
1
license
12
MIT
Package created
12 Sep 2012
Version published
4 Dec 2020
Maintainers
3
Total deps
12
Direct deps
2
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
12 Packages, Including:
@fast-csv/format@4.3.5
@fast-csv/parse@4.3.6
@types/node@14.18.63
fast-csv@4.3.6
lodash.escaperegexp@4.1.2
lodash.groupby@4.6.0
lodash.isboolean@3.0.3
lodash.isequal@4.5.0
lodash.isfunction@3.0.9
lodash.isnil@4.0.0
lodash.isundefined@3.0.1
lodash.uniq@4.5.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of fast-csv 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@fast-csv/format4.3.510.64 kBMIT
prod
@fast-csv/parse4.3.619.11 kBMIT
prod

Visualizations

Frequently Asked Questions

What does fast-csv do?

Fast-CSV is an npm package that serves as a comprehensive CSV parser and writer. This package unifies the functionalities of @fast-csv/format for formatting CSV files and @fast-csv/parse designed for parsing CSV files, providing a single package that conveniently manages all things related to CSV files.

How do you use fast-csv?

To employ Fast-CSV, you need to install the package, typically through npm using the command npm install --save fast-csv. Once installed, you can use it in your script like:

const csv = require('fast-csv');

This module provides various utilities to parse or format CSV data. For example, to parse CSV data, you could use:

csv.parseString('a,b\na1,b1\na2,b2', {headers: true})
    .on('data', row => console.log(row))
    .on('end', rowCount => console.log(`Parsed ${rowCount} rows`));

You can use similar code to write data to a CSV file.

const dataRows = [
    {a: 'a1', b: 'b1'},
    {a: 'a2', b: 'b2'},
];

csv.writeToString(dataRows, {headers: true})
    .then(csvString => console.log(csvString))

Where are the fast-csv docs?

The official Fast-CSV documentation is hosted on C2FO's official website. You can access them using these links: