
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
@farmfe/plugin-dsv
Advanced tools
š£ A Farm plugin which converts `.csv` and `.tsv` files into JavaScript modules.
š£ A Farm plugin which converts .csv
and .tsv
files into JavaScript modules.
This plugin requires an LTS Node version (v18.0.0+) and Farm v1.0.0+.
npm i @farmfe/plugin-dsv
Create a farm.config.js
configuration file and import the plugin:
import { defineConfig } from '@farmfe/core';
import dsv from '@farmfe/plugin-dsv';
export default defineConfig({
plugins: [
[
dsv()
]
],
});
Suppose that you have a CSV (or TSV!) file which contains some information on delicious fruits:
type,count
apples,7
pears,4
bananas,5
And suppose you'd like to import that CSV as an Array
within some part of your code. After adding the plugin (as shown above), you may import
(or require
) the CSV file directly. The import will provide an Array
of Objects
representing rows from the CSV file:
import fruit from './fruit.csv';
console.log(fruit);
// [
// { type: 'apples', count: '7' },
// { type: 'pears', count: '4' },
// { type: 'bananas', count: '5' }
// ]
FAQs
š£ A Farm plugin which converts `.csv` and `.tsv` files into JavaScript modules.
The npm package @farmfe/plugin-dsv receives a total of 332 weekly downloads. As such, @farmfe/plugin-dsv popularity was classified as not popular.
We found that @farmfe/plugin-dsv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 0 open source maintainers 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
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.