🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@velocitycareerlabs/csv-parser

Package Overview
Dependencies
Maintainers
1
Versions
1112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@velocitycareerlabs/csv-parser

Csv parser package for velocitycore

1.26.4
latest
Source
npm
Version published
Weekly downloads
916
-23.22%
Maintainers
1
Weekly downloads
 
Created
Source

csv-parser

The package contains tools for converting json to csv.

Example 1

const {parseToCsv} = require('@velocitycareerlabs/csv-parser');

const json = [
  {
    name: 'John',
    age: 30,
    city: 'New York',
  },
];

const fields = [
  {
    fieldName: 'Name',
    fieldValue: 'name',
  }
];

const csv = parseToCsv(json);

Example 2

const {parseToCsv} = require('@velocitycareerlabs/csv-parser');

const json = [
  {
    person: {
      name: 'John',
      age: 30,
      city: 'New York',
    },
  },
];

const fields = [
  {
    fieldName: 'Name',
    fieldValue: 'person.name',
  },
  {
    fieldName: 'Age',
    fieldValue: (item) => item.person.age,
  },
];

const csv = parseToCsv(json);

FAQs

Package last updated on 18 Jun 2025

Did you know?

Socket

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.

Install

Related posts