
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@willaug/json-csv-converter
Advanced tools
Convert JSON file to CSV file or vice versa
This repository was created for convert files, that's it, it will create a new file with the new extension.
Supported extensions: CSV and JSON.
First, you need to install this package:
npm install @willaug/json-csv-converter
or
yarn add @willaug/json-csv-converter
Then, you will can call two functions to convert files:
const { convertJsonToCsv } = require('@willaug/json-csv-converter');
// path: where the file to convert is (string)
// savePath: where the new file will be created (string)
const path = '../public/jsonfile.json';
const savePath = '../public';
const result = await convertJsonToCsv(path, savePath);
/**
* result = {
* message: 'success!',
* filename: 'ed90767a013c98dd.csv',
* filepath: '/home/yourUser/yourProject/public/ed90767a013c98dd.csv',
* }
*/
and
const { convertCsvToJson } = require('@willaug/json-csv-converter');
// path: where the file to convert is (string)
// savePath: where the new file will be created (string)
const path = '../public/csvfile.csv';
const savePath = '../public';
const result = await convertCsvToJson(path, savePath);
/**
* result = {
* message: 'success!',
* filename: 'ed90767a013c98dd.json',
* filepath: '/home/yourUser/yourProject/public/ed90767a013c98dd.json',
* }
*/
Node versions supported: 16v or highter.
Thanks for read this documentation and install this package. This repository was created for learning and you can contact me by the email william.santos315@outlook.com <3.
FAQs
convert json file to csv file or vice versa
We found that @willaug/json-csv-converter 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.