Comparing version 0.4.0 to 0.4.1
@@ -6,3 +6,3 @@ #! /usr/bin/env node | ||
const yargs = require('yargs') | ||
const csvnorm = require('.') | ||
const csvnorm = require('./source') | ||
const {stdin, stdout, argv} = process | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "csvnorm", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Command line tool to normalize CSV and *SV files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Csvnorm | ||
Command line tool to normalize CSV and *SV files. | ||
Command line tool to normalize CSV and \*SV files. | ||
@@ -15,4 +15,6 @@ Steps: | ||
## Installation | ||
## CLI Version | ||
### Installation | ||
```sh | ||
@@ -27,3 +29,3 @@ npm install --global csvnorm | ||
## Usage | ||
### Usage | ||
@@ -39,4 +41,44 @@ ```sh | ||
## TODO | ||
### TODO | ||
- [ ] Print debugging info in TTY mode | ||
## Node Module | ||
### Installation | ||
```sh | ||
npm install --save csvnorm | ||
``` | ||
```sh | ||
yarn add csvnorm | ||
``` | ||
### Usage | ||
With files: | ||
```js | ||
const csvnorm = require('csvnorm') | ||
csvnorm({ | ||
filePath: csvFilePath, | ||
inPlace: true, | ||
}) | ||
``` | ||
With streams: | ||
```js | ||
const csvnorm = require('csvnorm') | ||
csvnorm({ | ||
readableStream: process.stdin, | ||
writableStream: process.stdout, | ||
}) | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
82
1
1
23466
258