Gathering detailed insights and metrics for @importcsv/react
Gathering detailed insights and metrics for @importcsv/react
Gathering detailed insights and metrics for @importcsv/react
Gathering detailed insights and metrics for @importcsv/react
AI-native Data Onboarding Platform. Open-source alternative to Flatfile and OneSchema.
npm install @importcsv/react
Typescript
Module System
Node Version
NPM Version
TypeScript (42.27%)
HTML (39.95%)
Python (14.18%)
CSS (1.75%)
JavaScript (1.65%)
Dockerfile (0.14%)
Mako (0.04%)
Shell (0.03%)
Built with Next.js • Fully responsive • SEO optimized • Open source ready
Total Downloads
751
Last Day
2
Last Week
3
Last Month
56
Last Year
751
NOASSERTION License
74 Stars
233 Commits
2 Forks
2 Watchers
3 Branches
2 Contributors
Updated on Sep 03, 2025
Latest Version
0.2.3
Package Id
@importcsv/react@0.2.3
Unpacked Size
9.37 MB
Size
1.99 MB
File Count
323
NPM Version
11.4.2
Node Version
22.12.0
Published on
Aug 26, 2025
Cumulative downloads
Total Downloads
Last Day
0%
2
Compared to previous day
Last Week
-25%
3
Compared to previous week
Last Month
-60.6%
56
Compared to previous month
Last Year
0%
751
Compared to previous year
11
37
1
Every developer has been there. Users upload CSVs with columns in the wrong order, dates in different formats, and data that needs validation. You end up building the same import flow again and again.
ImportCSV handles it all for you:
1npm install @importcsv/react
1import { CSVImporter } from '@importcsv/react'; 2import { useState } from 'react'; 3 4function App() { 5 const [isOpen, setIsOpen] = useState(false); 6 7 return ( 8 <> 9 <button onClick={() => setIsOpen(true)}>Import CSV</button> 10 11 <CSVImporter 12 modalIsOpen={isOpen} 13 modalOnCloseTriggered={() => setIsOpen(false)} 14 onComplete={(data) => console.log(data.rows)} 15 columns={[ 16 { id: 'name', label: 'Name', validators: [{ type: 'required' }] }, 17 { id: 'email', label: 'Email', type: 'email' } 18 ]} 19 /> 20 </> 21 ); 22}
That's it! Your users get a polished import experience with column mapping, validation, and error handling.
1'use client'; 2import { CSVImporter } from '@importcsv/react';
1<script src="https://unpkg.com/@importcsv/react@latest/build/bundled/index.umd.js"></script> 2<script> 3 const importer = CSVImporter.createCSVImporter({ 4 domElement: document.getElementById('app'), 5 columns: [/* ... */], 6 onComplete: (data) => console.log(data) 7 }); 8 9 importer.showModal(); 10</script>
1columns={[ 2 { 3 id: 'email', 4 label: 'Email', 5 type: 'email', 6 validators: [{ type: 'required' }, { type: 'unique' }], 7 transformations: [{ type: 'lowercase' }, { type: 'trim' }] 8 } 9]}
Feature | ImportCSV | Build Your Own | Other Libraries |
---|---|---|---|
Setup time | 5 minutes | Days/weeks | Hours |
AI-powered fixes | ✅ | ❌ | ❌ |
Virtual scrolling | ✅ | Maybe | Sometimes |
Framework agnostic | ✅ | Your choice | Usually not |
Bundle size | ~100KB | Varies | 200KB+ |
Theming | 5 presets + custom | DIY | Limited |
MIT © ImportCSV
No vulnerabilities found.