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

@blossm/json-to-csv

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blossm/json-to-csv - npm Package Compare versions

Comparing version

to
0.0.5

4

index.js

@@ -1,3 +0,3 @@

const { Parser } = require("@json2csv/plainjs");
import { Parser } from "@json2csv/plainjs";
module.exports = ({ data, fields }) => new Parser({ fields }).parse(data);
export default ({ data, fields }) => new Parser({ fields }).parse(data);
{
"name": "@blossm/json-to-csv",
"version": "0.0.4",
"version": "0.0.5",
"description": "Converts JSON to a downloadable CSV.",
"main": "index.js",
"type": "module",
"author": "blossm.network",

@@ -20,5 +21,5 @@ "engines": {

"devDependencies": {
"mocha": "^7.1.1"
"mocha": "^11.7.0"
},
"gitHead": "d55087d7a6f9f9df514c7aa2cc5332e26112ff34"
"gitHead": "1403facf898d789b90daaed20ce7a020dd182679"
}

@@ -1,4 +0,6 @@

const { expect } = require("chai");
const jsonToCSV = require("..");
import * as chai from "chai";
import jsonToCSV from "../index.js";
const { expect } = chai;
describe("JSON to CSV", () => {

@@ -5,0 +7,0 @@ it("should return the correct download", () => {

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.