
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@bernierllc/csv-ui
Advanced tools
React components for CSV import interfaces with drag-and-drop, column mapping, validation, and real-time feedback
React components for CSV import interfaces with drag-and-drop, column mapping, validation, and real-time feedback.
npm install @bernierllc/csv-ui
import { CSVImportWizard } from '@bernierllc/csv-ui';
const schema = {
fields: [
{ name: 'name', type: 'string', required: true },
{ name: 'email', type: 'string', required: true },
{ name: 'age', type: 'number', required: false }
]
};
function MyComponent() {
const handleComplete = (result) => {
console.log('Import completed:', result);
};
return (
<CSVImportWizard
onComplete={handleComplete}
initialSchema={schema}
title="Import Users"
/>
);
}
Complete wizard component that handles the entire CSV import flow:
<CSVImportWizard
onComplete={(result) => console.log(result)}
onCancel={() => console.log('cancelled')}
initialSchema={schema}
allowedFileTypes={['.csv', '.txt']}
maxFileSize={10 * 1024 * 1024}
validationEnabled={true}
/>
Drag-and-drop file upload component:
<FileUpload
onFileSelect={(file) => console.log(file)}
acceptedTypes={['.csv', '.txt']}
maxSize={5 * 1024 * 1024}
/>
Visual column mapping interface:
<ColumnMapper
headers={['Name', 'Email', 'Age']}
schema={schema}
mapping={mapping}
onMappingChange={setMapping}
onAutoMap={() => console.log('auto-map')}
/>
Interactive data preview with validation:
<DataPreview
data={csvData}
schema={schema}
mapping={mapping}
validationErrors={errors}
maxRows={50}
/>
Validation results with error details:
<ValidationDisplay
errors={validationErrors}
showSuggestions={true}
onErrorClick={(error) => console.log(error)}
/>
Complete CSV import state management:
const {
currentStep,
file,
data,
schema,
mapping,
validationErrors,
isProcessing,
setFile,
setMapping,
nextStep,
startImport
} = useCSVImport({
initialSchema: schema,
onComplete: (result) => console.log(result)
});
Column mapping utilities:
const {
mapping,
suggestions,
autoMap,
mapColumn,
clearMapping
} = useColumnMapping({
headers: csvHeaders,
schema: importSchema,
onMappingChange: setMapping
});
All components are fully typed. Import types as needed:
import type {
ImportSchema,
ColumnMapping,
ValidationError,
ImportResult,
FileUploadProps,
CSVImportWizardProps
} from '@bernierllc/csv-ui';
Components use Tailwind CSS classes. Include Tailwind in your project or provide custom styles.
Copyright (c) 2025 Bernier LLC. All rights reserved.
FAQs
React components for CSV import interfaces with drag-and-drop, column mapping, validation, and real-time feedback
The npm package @bernierllc/csv-ui receives a total of 0 weekly downloads. As such, @bernierllc/csv-ui popularity was classified as not popular.
We found that @bernierllc/csv-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.