react-dropzone-csv-to-json

0.1.3 • Public • Published

What it does?

Actually it does nothing much. This module is just an extension of fabulous react-dropzone. On accepting CSV file it will give you back JSON. That's it.

Usage

        <div>
          <DropZone
            getJson={jsonResult => {
              this.setState({ jsonResult });
            }}
          >
            <p>Add a file and see for yourself</p>
          </DropZone>
          {this.state.jsonResult ? (
            <div>{JSON.stringify(this.state.jsonResult)}</div>
          ) : null}
        </div>
        

Readme

Keywords

none

Package Sidebar

Install

npm i react-dropzone-csv-to-json

Weekly Downloads

3

Version

0.1.3

License

none

Unpacked Size

5.1 kB

Total Files

4

Last publish

Collaborators

  • akshay.milmile