Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tmilar/fix-csv-chars

A simple CLI node module that finds and replaces parameter-specified characters inside double-quoted text from a file.
https://github.com/tmilar/fix-csv-chars

csv node-module nodejs npm-package

Last synced: 20 days ago
JSON representation

A simple CLI node module that finds and replaces parameter-specified characters inside double-quoted text from a file.

Awesome Lists containing this project

README

        

Fix CSV chars
-------------

A small node module to replace a specified char found inside double-quoted pieces of text.

__Setup__
```
npm install -g @tmilar/fix-csv-chars
```

__Usage__
```
fix-csv-chars INPUT_FILENAME OUTPUT_FILENAME OFFENDING_TEXT REPLACEMENT_TEXT
```

> Example:
```
fix-csv-chars sample.csv sample_fixed.csv "," "@@@"
```

## License

MIT