Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
github.com/varmaexe/csv-parser
This project is a Golang-based API that parses CSV files and returns the data in JSON format. The API accepts CSV files with a header row, and it assumes that the first row contains the column names. The API uses the encoding/csv package in Golang to read the CSV file, and it returns the data as slice of structs in formatted way.
To use the API, you will need to have Golang installed on your computer. You can download and install Golang from the official website: https://golang.org/dl/
Once you have Golang installed, you can clone the repository and run the following command to install the required packages:
go get github.com/gorilla/mux
To use the API, run the following command:
go run main.go
This will start the server on port 8888. You can then make a POST request to the API with a CSV file in the request body. The API will parse the CSV file and return the data in formatted way.
API Endpoints The API has one endpoint:
POST /upload This endpoint accepts a CSV file in the request body and returns the data in slice of structs
If you would like to contribute to the project, please follow these steps:
Fork the repository.
FAQs
Unknown package
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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.