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

Enabled ts support for the project #14

Closed Maanu07 closed 9 months ago

Maanu07 commented 9 months ago

Fixes Issue 1

Some key points:

  1. Added Typescript and required types as a dev dependency.
  2. For a better folder structure, moved the index.js file to the src directory.
  3. Added the necessary scripts to run build and serve the application, kindly refer to the package.json file.
  4. Added the build folder in the .gitignore file to prevent cluttering of build files in the repo.
socket-security[bot] commented 9 months ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@types/node 20.10.5 None +1 4.01 MB types
typescript 5.3.3 filesystem +0 32 MB typescript-bot
gitdagray commented 9 months ago

Good work! 💯 Fixes https://github.com/gitdagray/csv-to-sql-insert/issues/1