1.27.0 • Published 12 months ago

@tableflow/js v1.27.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

The Open Source CSV Importer

Getting Started

1. Install the TableFlow JS SDK

NPM

npm install @tableflow/js

Yarn

yarn add @tableflow/js

2. Add the Importer to your application

Create an importer, define your template, and retrieve data on TableFlow. \ The full SDK reference is available in our docs.

import createTableFlowImporter from "@tableflow/js";

const importer = createTableFlowImporter({
  importerId: "6de452a2-bd1f-4cb3-b29b-0f8a2e3d9353", // Use your importer ID from https://app.tableflow.com/importers
  modalOnCloseTriggered: () => importer.close(),
  onComplete: (data) => console.log(data),
  darkMode: true,
});

const uploadButton = document.getElementById("uploadButton");
uploadButton.addEventListener("click", () => {
  importer?.showModal();
});

Or directly in HTML

<head>
  <script src="https://unpkg.com/@tableflow/js@latest/build/index.js"></script>
</head>
<body>
  <button id="uploadButton">Open TableFlow Importer</button>
  <script>
    const importer = createTableFlowImporter({
      importerId: "6de452a2-bd1f-4cb3-b29b-0f8a2e3d9353", // Use your importer ID from https://app.tableflow.com/importers
      modalOnCloseTriggered: () => importer.close(),
      onComplete: (data) => console.log(data),
      darkMode: true,
    });

    const uploadButton = document.getElementById("uploadButton");
    uploadButton.addEventListener("click", () => {
      importer?.showModal();
    });
  </script>
</body>

\ Need help or have a feature request? Reach out to us over Slack!

1.27.0

12 months ago

1.26.0

1 year ago

1.25.0

1 year ago

1.24.0

1 year ago

1.23.0

2 years ago

1.22.0

2 years ago

1.21.0

2 years ago

1.20.0

2 years ago

1.19.0

2 years ago

1.18.0

2 years ago

1.17.0

2 years ago

1.16.0

2 years ago

1.15.0

2 years ago

1.14.0

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago