{"repo":"tableflowhq/csv-import","free":true,"listed":false,"github":"https://github.com/tableflowhq/csv-import","clone":"git clone https://github.com/tableflowhq/csv-import.git","description":"The open-source CSV importer, maintained by @tableflowhq","language":"TypeScript","stars":1788,"topics":["file-sharing","file-upload","import","importer","react","typescript","upload","uploader","csv","excel"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Open-source CSV, TSV, and XLS/XLSX file importer for React and JavaScript How It Works 1. Embed the CSV Importer in your app with the React or JavaScript SDK 2. Define the columns your users can import (via the template parameter) 3. Your users import their files in your app 4. Retrieve the imported data from the onComplete event Get Started 1. Install SDK Use NPM or Yarn to install the SDK for React or JavaScript. NPM Yarn 2. Add the importer to your application Using React Using JavaScript SDK Reference isModal ( boolean , default: true ) When set to true (default value), the importer will behave as a modal with its open state controlled by modalIsOpen . When set to false , the importer will be embedded directly in your page. modalIsOpen ( boolean , default: false ) Only used when isModal is true : Controls the importer modal being open or closed. \\ React SDK Only : For the JavaScript SDK, use .showModal() and .closeModal() to operate the modal. modalOnCloseTriggered ( function ) Only used when isModal is true : A function called when the user clicks the close button or clicks outside of (when used with modalCloseOnOutsideClick ) the importer. useState can be used to control the importer modal opening and closing. modalCloseOnOutsideClick ( boolean , default: false ) Only used when isModal is true : Clicking outside the modal will call the modalOnCloseTriggered function. template ( object ) Configure the columns used for the import. onComplete ( function ) Callback function","default_branch":null,"files":null,"tree":[],"storefront":"/r/tableflowhq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tableflowhq/csv-import/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}