Full featured CSV parser with simple api and tested against large datasets.
Installations
npm install csv-stringify
Developer Guide
Typescript
Yes
Module System
ESM
Node Version
22.11.0
NPM Version
lerna/8.1.9/node@v22.11.0+x64 (linux)
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
CoffeeScript (52.72%)
JavaScript (40.83%)
TypeScript (6.13%)
HTML (0.31%)
Shell (0.01%)
Developer
Download Statistics
Total Downloads
489,742,910
Last Day
144,894
Last Week
3,939,553
Last Month
15,386,704
Last Year
162,163,406
GitHub Statistics
4,069 Stars
2,364 Commits
269 Forks
43 Watching
1 Branches
115 Contributors
Package Meta Information
Latest Version
6.5.2
Package Id
csv-stringify@6.5.2
Unpacked Size
894.91 kB
Size
194.45 kB
File Count
26
NPM Version
lerna/8.1.9/node@v22.11.0+x64 (linux)
Node Version
22.11.0
Publised On
21 Nov 2024
Total Downloads
Cumulative downloads
Total Downloads
489,742,910
Last day
-8.9%
144,894
Compared to previous day
Last week
4.3%
3,939,553
Compared to previous week
Last month
-3.3%
15,386,704
Compared to previous month
Last year
40.2%
162,163,406
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
_ _ _ _____ _______ __ | \ | | | | / ____|/ ____\ \ / / | \| | ___ __| | ___ | | | (___ \ \ / / | . ` |/ _ \ / _` |/ _ \| | \___ \ \ \/ / | |\ | (_) | (_| | __/| |____ ____) | \ / |_| \_|\___/ \__,_|\___| \_____|_____/ \/ 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.
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
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
14 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
packaging workflow detected
Details
- Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:102
Reason
5 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-wrw9-m778-g6mc
- Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-x6fg-f45m-jf5q
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/adaltas/node-csv/publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/adaltas/node-csv/publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/adaltas/node-csv/publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/adaltas/node-csv/publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/adaltas/node-csv/publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/adaltas/node-csv/publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/adaltas/node-csv/publish.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/publish.yml:31
- Warn: npmCommand not pinned by hash: .github/workflows/publish.yml:51
- Info: 0 out of 7 GitHub-owned GitHubAction dependencies pinned
- Info: 1 out of 3 npmCommand dependencies pinned
Reason
Found 1/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/publish.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 1 are checked with a SAST tool
Score
4.3
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More