
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
@onelastjedi/json2csv
Advanced tools
JavaScript library to convert JSON to CSV and back. Has no dependencies. Only works with flat objects.
If you use npm, npm install @onelastjedi/json2csv
. You can also download the latest release on GitHub.
import parse from '@onelastjedi/json2csv'
const csv = 'name,developer,age\nMary,true,25'
const json = { name: 'John', developer: false, age: 30 }
parse.csv2json(csv) // [{ name: 'Mary', developer: true, age: 25}]
parse.json2csv(json) // name,developer,age\nJohn,false,30
FAQs
Parse JSON to CSV and vice versa in its simplest form
The npm package @onelastjedi/json2csv receives a total of 53 weekly downloads. As such, @onelastjedi/json2csv popularity was classified as not popular.
We found that @onelastjedi/json2csv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.