Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
There's a lack of high performance and correct implementation of CSV reading/writing in JS ecosystem, thus this library was born. All tests from Go's csv package are ported over and used to validate the correctness of this library. Furthermore it was written to run in modern browsers and should feel fairly modern to use. Finally only csv Reader has been ported at this point.
npm install --save gocsv
Read from string
import { Reader } from 'gocsv'
const reader = new Reader('a,b,c\n1,2,3\n4,5,6')
reader
.readAll(row => {
console.log('read row:', row)
})
.then(() => {
console.log('finished reading')
})
Read from file
import { Reader } from 'gocsv'
const reader = new Reader(file.stream())
reader
.readAll(row => {
console.log('read row:', row)
})
.then(() => {
console.log('finished reading')
})
Read 10 lines
import { Reader } from 'gocsv'
const reader = new Reader(file.stream())
reader
.readN(10, row => {
console.log('read row:', row)
})
.then(() => {
console.log('finished reading')
})
FAQs
Go's CSV package ported to JavaScript to run in browser
The npm package gocsv receives a total of 5 weekly downloads. As such, gocsv popularity was classified as not popular.
We found that gocsv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.