csv

6.3.11last stable release 5 months ago
Complexity Score
High
Open Issues
28
Dependent Projects
694
Weekly Downloadsglobal
1,567,639

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

     _   _           _        _____  _______      __
    | \ | |         | |      / ____|/ ____\ \    / /
    |  \| | ___   __| | ___ | |    | (___  \ \  / /
    | . ` |/ _ \ / _` |/ _ \| |     \___ \  \ \/ /
    | |\  | (_) | (_| |  __/| |____ ____) |  \  /
    |_| \_|\___/ \__,_|\___| \_____|_____/    \/     MIT License

CSV packages for Node.js and the web

This project provides CSV generation, parsing, transformation and serialization for Node.js.

It has been tested and used by a large community over the years and should be considered reliable. It provides every option you would expect from an advanced CSV parser and stringifier.

Project structure

This repository is a monorepo managed using Lerna. There are 5 projects in the codebase, published as separated NPM packages:

  • csv (GitHub), an umbrella which is itself split into 4 packages.
  • csv-generate (GitHub), a flexible generator of CSV string and Javascript objects.
  • csv-parse (GitHub), a parser converting CSV text into arrays or objects.
  • csv-stringify (GitHub), a stringifier converting records into a CSV text.
  • stream-transform (GitHub), a transformation framework.

Documentation

The full documentation for the current version is available on the official CSV project website.

  • Getting Started
  • Examples
  • License
  • Community

Features

  • Extends the native Node.js transform stream API
  • Simplicity with the optional callback and sync API
  • Support for ECMAScript modules and CommonJS
  • Large documentation, numerous examples and full unit test coverage
  • Few dependencies, in many cases zero dependencies
  • Node.js support from version 8 to latest
  • Mature project with more than 10 years of history

License

Licensed under the MIT License.

Contributors

The project is sponsored by Adaltas, a Big Data consulting firm based in Paris, France.

  • David Worms: https://github.com/wdavidw

Dependencies

Loading dependencies...

CVE IssuesActive
0
Scorecards Score
3.30
Test Coverage
No Data
Follows Semver
Yes
Github Stars
4,051
Dependenciestotal
22
DependenciesOutdated
1
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute csv in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install csv
Processing...
Done

Releases

Loading Version Data
NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.