Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
parser-csv
Advanced tools
Readme
CSV parser, compatible with parser-cache.
npm i parser-csv --save
npm test
var parser = require('parser-csv');
See parse-csv for the full range of options and features, and to report issues related to parsing.
parser.parse(str, options, function(err, res) {
if (err) { throw err; }
console.log(res);
});
parser.parseFile('fixtures/a.csv', function (err, res) {
if (err) { throw err; }
console.log(res);
});
var res = parser.parseSync(str, options);
console.log(res);
str
{String|Object}: The object or string to parse.options
{Object|Function}: or cb
callback function.cb
{Function}: callback function.Parse the given str
of CSV and callback cb(err, json)
.
str
{String|Object}: The object or string to parse.returns
: {Object}Parse the given str
of CSV and return an object.
str
{String|Object}: The object or string to parse.returns
: {Object}CSV file support. Parse the given str
of CSV and callback cb(err, data)
.
CSV file support. Parse a file at the given fp
.
fp
{String}options
{Object}: Options to pass to parse-csvparser.parseFile('foo/bar/baz.csv');
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on November 24, 2014.
FAQs
CSV parser, compatible with [parser-cache].
The npm package parser-csv receives a total of 8 weekly downloads. As such, parser-csv popularity was classified as not popular.
We found that parser-csv 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.