convert-csv-to-json
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "convert-csv-to-json", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Convert CSV to JSON", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# CSVtoJSON | ||
[![Build Status](https://travis-ci.org/iuccio/csvToJson.svg?branch=master)](https://travis-ci.org/iuccio/csvToJson) [![Code Climate](https://codeclimate.com/github/iuccio/csvToJson/badges/gpa.svg)](https://codeclimate.com/github/iuccio/csvToJson) | ||
[![NPM Version](https://img.shields.io/npm/v/convert-csv-to-json.svg)](https://npmjs.org/package/convert-csv-to-json) | ||
[![Downloads](https://img.shields.io/npm/dm/convert-csv-to-json.svg)](https://npmjs.org/package/convert-csv-to-json) | ||
@@ -21,3 +23,3 @@ **This project is not dependent on others packages or libraries.** | ||
Given an input file like: | ||
Give an input file like: | ||
@@ -24,0 +26,0 @@ |first_name|last_name|email|gender|age| |
@@ -8,3 +8,2 @@ 'use strict'; | ||
readFile(fileInputName) { | ||
console.log('Read file: ' + fileInputName); | ||
return fs.readFileSync(fileInputName).toString(); | ||
@@ -11,0 +10,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140567
21
141
174