Skip to content

timwis/csv-schema

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CSV Schema

Analyzes a CSV file and generates database table schema, all within the browser

screenshot of application

This application parses CSV files (including huge ones) within the browser. It analyzes each field to suggest the best database field type, max length, and whether or not there are any null values. From there, you can rename fields, ignore them, override field types/lengths, etc. and generate database table creation sql for MySQL, MariaDB, Postres, Oracle, or SQLite3.

Development

  • Install dependencies using npm install
  • Run a development server using npm start
  • Run linter and tests using npm test
  • Run a production build using npm run build
  • Deploy the application to surge using npm run deploy

This application uses PapaParse for CSV parsing and Knex.js for SQL query building.

About

Analyzes a CSV file and generates database table schema, all within the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published