Skip to content

max-mapper/json2pg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2pg

stream JSON objects into postgres, easily

e.g. here's a unix pipeline to load a CSV (bcsv converts CSV into JSON)

npm install json2pg bcsv -g
cat ~/Downloads/nextbus-1-million.csv | bcsv | json2pg some-table-name

json2pg expects line delimited JSON (one object per line)

About

write a stream of JSON objects into postgres, easily

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published