dedupe-csv
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "dedupe-csv", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A deduper for duplicated entries found on a CSV files", | ||
@@ -5,0 +5,0 @@ "author": "Alvaro Fernandez - Builtvisible", |
@@ -0,1 +1,8 @@ | ||
[![build](https://github.com/alvaro-escalante/dedupe-csv/actions/workflows/github-actions-demo.yml/badge.svg?style=for-the-badge&label=build)](https://github.com/alvaro-escalante/dedupe-csv/actions/workflows/github-actions-demo.yml) | ||
[![npm version](https://img.shields.io/npm/v/dedupe-csv?label=version)](https://www.npmjs.com/package/dedupe-csv) | ||
[![package size](https://img.shields.io/bundlephobia/min/dedupe-csv)](https://bundlephobia.com/result?p=dedupe-csv) | ||
[![minified size (gzip)](https://img.shields.io/bundlephobia/minzip/dedupe-csv)](https://bundlephobia.com/result?p=dedupe-csv) | ||
![types](https://img.shields.io/npm/types/dedupe-csv) | ||
![node](https://img.shields.io/node/v/dedupe-csv) | ||
# Dedupe-csv | ||
@@ -16,4 +23,4 @@ | ||
- `file`: Specifies the input CSV file. Replace `"data.csv"` with the path to your CSV file. | ||
- `column`: (Optional) if ommitted it will look for identical rows. If specified, the header name in the CSV file will be used to identify duplicates. Replace `"header name/s"` with the header/s name you want to use. You can use multiple headers. | ||
- `keep`: (Optional) Specifies the strategy for keeping duplicates. Default value is `"first"`. | ||
- `column`: (Optional) if omitted it will look for identical rows. If specified, the header name in the CSV file will be used to identify duplicates. Replace `"header name/s"` with the header/s name you want to use. You can use multiple headers. | ||
- `keep`: (Optional) Specifies the strategy for keeping duplicates. The default value is `"first"`. | ||
- Available options are: | ||
@@ -136,2 +143,2 @@ - `"first"`: Keep the first occurrence of each duplicate. | ||
Foo,pack,2 | ||
``` | ||
``` |
24556
143