gitdagray / csv-to-sql-insert

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.
MIT License
99 stars 120 forks source link

Switch from CommonJS to ES6 import / export #2

Closed gitdagray closed 9 months ago

gitdagray commented 9 months ago

Switch from CommonJS to ES6 import / export. Will need to add type: module to package.json and adjust code accordingly. Reference: https://stackoverflow.com/questions/61401475/why-is-type-module-in-package-json-file

YugandharrPatil commented 9 months ago

Hey Dave! Can I take this up? I'm just getting my hands dirty with OSS seems like a good one for me!

Maanu07 commented 9 months ago

Hey Dave, I would also like to contribute to this since ES6 imports are becoming a new trend setter these days and it looks quite easy to understand.

gitdagray commented 9 months ago

Hey Dave, I would also like to contribute to this since ES6 imports are becoming a new trend setter these days and it looks quite easy to understand.

Hey, thanks for asking. I just merged a PR for this one. We do need to set up formatting if you are interested in that or one of the others?

gitdagray commented 9 months ago

Closing issue with this PR merged