
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
body-parser-csv
Advanced tools
This package is inspired by body-parser-xml and is using fast-csv for parsing.
Developed by http://operatorict.cz
Install Node
Install all npm modules using command:
yarn
To compile typescript code into js one-time
yarn run build
or run this, to watch all changes
yarn run build-watch
from the application's root directory.
In your project's package.json
set dependency to body-parser-csv
npm install body-parser-csv --save
or
yarn add body-parser-csv --save
Then import module, e.g.
const bodyParser = require("body-parser");
require("body-parser-csv")(bodyParser);
You can then use body-parser-csv the same way as you would use the body-parser-xml, with csv parsing options inside of the csvParseOptions
parameter.
this.express.use(
bodyParser.csv({
csvParseOptions: {
fastcsvParams: {
headers: true,
trim: true,
},
subscribe: ((json: any) => {
// some line transformation
return json;
}),
},
limit: "15MB",
})
);
For generating documentation run yarn run generate-docs
. TypeDoc source code documentation is located in docs/typedoc
.
Please read CONTRIBUTING.md
.
Contact benak@operatorict.cz or vycpalek@operatorict.cz
FAQs
CSV parser middleware for express.js
The npm package body-parser-csv receives a total of 79 weekly downloads. As such, body-parser-csv popularity was classified as not popular.
We found that body-parser-csv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.