You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@velocitycareerlabs/csv-parser

Package Overview
Dependencies
Maintainers
1
Versions
1164
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.8
latest
Source
npmnpm
Version published
Maintainers
1
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 09 Jul 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