Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
README has usage and credits now
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Mar 20, 2024
1 parent 5122278 commit 450f0ec
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ datasette install datasette-paste
```
## Usage

Usage instructions go here.
This plugin adds a database action item called "Create table with pasted data".

This action is available to users with the `create-table` permission.

It links to a page that allows users to paste in CSV, TSV or JSON data, and then use that to create and populate a new table in Datasette.

CSV and TSV data must have headers on the first row.

JSON data must be an array of objects with the same keys, or a container object object where one of the keys is an array of objects.

## Credits

The CSV and TSV parsing is performed using [Papa Parse](https://www.papaparse.com/), an MIT licensed JavaScript library that is bundled with this plugin.

## Development

Expand Down

0 comments on commit 450f0ec

Please sign in to comment.