# custom-csv-importer

> ## Test the project

Latest version **1.0.4** (published 2020-08-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install custom-csv-importer
pnpm add custom-csv-importer
yarn add custom-csv-importer
bun add custom-csv-importer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-08-12 |
| First published | 2020-08-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 22 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | alankuty |

## Links

- npm: https://www.npmjs.com/package/custom-csv-importer
- Repository: git@gitlab.blackstar.io:alan/custom-csv-importer
- npm.io page: https://npm.io/package/custom-csv-importer

## Dependencies (2)

- [react-xarrows](https://npm.io/package/react-xarrows.md) ^1.4.4
- [styled-components](https://npm.io/package/styled-components.md) ^5.1.1

## Recent versions

- 1.0.4 (latest) — 2020-08-12
- 1.0.3 — 2020-08-10
- 1.0.2 — 2020-08-10
- 1.0.1 — 2020-08-10
- 1.0.0 — 2020-08-10
- 0.0.1 — 2020-08-10

## README

# Custom CSV Importer

## Test the project

Using [webpack](https://webpack.js.org/) with reference to folder `src/dev`.

```sh
$ npm install || yarn
```

then

```sh
$ npm start || yarn start
```

## Installation

```sh
$ npm i custom-csv-importer || yarn add custom-csv-importer
```

## Required dependencies

```
styled-components
react-xarrows
```

## How to use

| Prop | Default value |
| ----- | ----- | 
| arrows | [ ] - `A list with all connections between columns.` |
| setArrows | () => {} - `A function that sets a new connection.` |
| defaultCsvTitle | "Default CSV" |
| userCsvTitle | "User CSV" |
| defaultCsv | [{ column_id: 1, column_name: 'Default Item 1', required: true, }, { column_id: 2, column_name: 'Default Item 2', required: false, }] |
| userCsv | [{ column_id: 1, column_name: 'User Item 1' }, { column_id: 2, column_name: 'User Item 2' }] |
| customBox | { border: 1px solid grey; position: relative; padding: 20px 30px; margin: 10px 0; border-radius: 4px; width: 150px; } |
| customText | { text-align: center; } |

---
_Source: https://npm.io/package/custom-csv-importer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
