![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@dbl-works/csv-unique-values
Advanced tools
A script to get unique values from columns in any CSV file.
Our use case is to run this script to populate in-app dropdowns with all possible values, but there's plenty more you can do with it, for example if you want to remove duplicates from a list of e-mails or phone numbers, …
Pull in this repository locally, then run
Usage: node index.js [options]
Options:
-v, --version output the version number
-i, --input <file> input CSV file
-d, --delimiter <delimiter> delimiter used in the CSV (default: ",")
-c, --columns <columns> columns to extract, comma-separated, all by default
-o, --output <directory> output destination, will create a file per column
--no-sort don't sort unique values
-h, --help display help for command
If we publish this to NPM, it'd be
npx @dbl-works/csv-unique-values [options]
For an example input file team.csv
Name, Country
Joe, US
John, US
John, DE
and running
npx @dbl-works/csv-unique-values --input team.csv --keys country --output ~/Desktop/team-country
will generate country.json
with contents
[
"DE",
"US"
]
FAQs
Get unique values from a CSV file
We found that @dbl-works/csv-unique-values demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.