
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
devkits-csv-json-converter
Advanced tools
Convert CSV to JSON and JSON to CSV. Handle quoted fields, custom delimiters. Zero-dependency data converter for developers.
Convert CSV to JSON and JSON to CSV. Handle quoted fields, custom delimiters. Zero-dependency data converter for developers.
Love these tools? Support development via Open Collective
Get access to 20+ premium tools including SQL to Code, Data Faker, JWT Generator, and more — all for $9 one-time.
💡 Pay with Crypto: BTC, ETH, USDT (TRC-20), SOL accepted. View crypto addresses
This package is part of DevKits — 82+ free developer tools. The online CSV Converter handles large files (10MB+), Excel export, and data preview.
npm install @devkits/csv-json-converter
const { csvToJson, jsonToCsv, parseCSV } = require('@devkits/csv-json-converter');
// CSV to JSON with headers
const csv = `name,age,city
Alice,30,NYC
Bob,25,LA`;
const json = csvToJson(csv);
// [
// { name: 'Alice', age: '30', city: 'NYC' },
// { name: 'Bob', age: '25', city: 'LA' }
// ]
// JSON to CSV
const jsonData = [
{ name: 'Alice', age: '30', city: 'NYC' },
{ name: 'Bob', age: '25', city: 'LA' }
];
const csvOut = jsonToCsv(jsonData);
// 'name,age,city\nAlice,30,NYC\nBob,25,LA'
// Custom delimiter (tab-separated)
const tsv = `name\tage
Alice\t30`;
const jsonFromTsv = csvToJson(tsv, { delimiter: '\t' });
// Parse CSV without headers
const data = csvToJson('Alice,30\nBob,25', { header: false });
// [['Alice', '30'], ['Bob', '25']]
csvToJson(csv, options)Converts CSV string to JSON array.
Options:
delimiter: Field delimiter (default: ,)header: Use first row as headers (default: true)jsonToCsv(json, options)Converts JSON array to CSV string.
Options:
delimiter: Field delimiter (default: ,)includeHeader: Include header row (default: true)parseCSV(text, delimiter)Parses CSV to array of rows (low-level function).
escapeCSV(value)Escapes a value for CSV output.
arraysToCsv(rows, delimiter)Converts array of arrays to CSV string.
"" inside quoted fields)Free Tools (82+):
| Tool | Description |
|---|---|
| base64-tool | Base64 encode/decode |
| chmod-calculator | Unix permissions converter |
| cron-parser | Cron expression parser |
| diff-checker | Text comparison (LCS) |
| docker-compose-parser | Docker Compose parser |
Unlock 20+ premium tools with a single payment:
💡 Pay with Crypto: BTC, ETH, USDT (TRC-20), SOL accepted
| Product | Description |
|---|---|
| Invoicely | Free invoice generator for freelancers |
| SnapOG | Free OG image generator (20+ templates) |
MIT
FAQs
Convert CSV to JSON and JSON to CSV. Handle quoted fields, custom delimiters. Zero-dependency data converter for developers.
The npm package devkits-csv-json-converter receives a total of 1 weekly downloads. As such, devkits-csv-json-converter popularity was classified as not popular.
We found that devkits-csv-json-converter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.