
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@solidexpert/csv-importer-angular
Advanced tools
Open-source CSV, TSV, and XLS/XLSX file importer for Angular
Open-source CSV, TSV, and XLS/XLSX file importer for Angular.
npm install @solidexpert/csv-importer-angular
# or
yarn add @solidexpert/csv-importer-angular
import { Component } from '@angular/core';
import { CsvImporterComponent, Template, ImportResult } from '@solidexpert/csv-importer-angular';
@Component({
selector: 'app-root',
standalone: true,
imports: [CsvImporterComponent],
template: `
<button (click)="isOpen = true">Open Importer</button>
<csv-importer
[isModal]="true"
[modalIsOpen]="isOpen"
[darkMode]="true"
[template]="template"
(modalClose)="isOpen = false"
(complete)="onComplete($event)"
></csv-importer>
`
})
export class AppComponent {
isOpen = false;
template: Template = {
columns: [
{
name: 'First Name',
key: 'first_name',
required: true,
description: 'The first name of the user',
suggested_mappings: ['first', 'name']
},
{
name: 'Last Name',
key: 'last_name',
suggested_mappings: ['last', 'surname']
},
{
name: 'Email',
key: 'email',
required: true
}
]
};
onComplete(result: ImportResult): void {
console.log('Import complete:', result);
// Process your data here
}
}
| Input | Type | Default | Description |
|---|---|---|---|
isModal | boolean | true | Display as modal or inline |
modalIsOpen | boolean | true | Control modal visibility |
modalCloseOnOutsideClick | boolean | false | Close modal on backdrop click |
template | Template | string | - | Column configuration (required) |
darkMode | boolean | false | Enable dark theme |
primaryColor | string | '#7a5ef8' | Primary brand color |
showDownloadTemplateButton | boolean | true | Show template download button |
skipHeaderRowSelection | boolean | false | Skip header row selection step |
language | string | 'en' | UI language (en, es, fr, de) |
customTranslations | object | - | Custom translation strings |
customStyles | object | string | - | CSS custom properties |
| Output | Type | Description |
|---|---|---|
complete | ImportResult | Emitted when import completes successfully |
modalClose | void | Emitted when modal close is triggered |
interface Template {
columns: TemplateColumn[];
}
interface TemplateColumn {
name: string; // Display name
key: string; // Unique identifier
description?: string; // Help text
required?: boolean; // Mark as required
suggested_mappings?: string[]; // Auto-match column names
multiple?: boolean; // Allow multiple columns to map
combiner?: (values: string[]) => string; // Custom value combiner
}
interface ImportResult {
num_rows: number;
num_columns: number;
error: string | null;
columns: { key: string; name: string }[];
rows: {
index: number;
values: Record<string, string | number>;
}[];
}
const customTranslations = {
en: {
'Upload': 'Upload File',
'Drop your file here': 'Drag and drop your file here'
},
fr: {
'Upload': 'Téléverser un fichier'
}
};
// In template
<csv-importer
[customTranslations]="customTranslations"
></csv-importer>
const customStyles = {
'--color-primary': '#10b981',
'--color-primary-hover': '#059669',
'--border-radius': '8px'
};
// In template
<csv-importer
[customStyles]="customStyles"
></csv-importer>
This package is automatically published to npm when a new version tag is pushed.
Update the version in package.json:
npm version patch # for bug fixes (1.0.0 -> 1.0.1)
npm version minor # for new features (1.0.0 -> 1.1.0)
npm version major # for breaking changes (1.0.0 -> 2.0.0)
Push the version commit and tag:
git push && git push --tags
The GitHub Actions workflow will automatically:
@solidexpert/csv-importer-angularYou can also trigger the workflow manually from the GitHub Actions tab, or publish directly:
npm run build
npm publish
Note: You need to set up NPM_TOKEN secret in your GitHub repository settings for automatic publishing to work.
MIT
FAQs
Open-source CSV, TSV, and XLS/XLSX file importer for Angular
The npm package @solidexpert/csv-importer-angular receives a total of 34 weekly downloads. As such, @solidexpert/csv-importer-angular popularity was classified as not popular.
We found that @solidexpert/csv-importer-angular 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.