Skip to content

Commit 909fa17

Browse files
committed
Added README
1 parent c6e0d30 commit 909fa17

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# csv-to-sql
2+
Provide table data as a CSV ([comma-separated values](https://en.wikipedia.org/wiki/Comma-separated_values)) file and output a SQL insert statement for a table with the same name as the file.
3+
4+
## Usage ⚙
5+
1. Confirm you have a directory named `csv`
6+
2. Confirm you have a directory named `sql`
7+
3. Save your input CSV file in the `csv` directory
8+
4. In a terminal window, run `node . YourFileName`
9+
5. Watch the terminal window for any error messages
10+
6. Your SQL insert statement will be saved in `sql/YourFileName.sql`
11+
12+
## Support 👨‍💻
13+
- [Create an Issue](https://github.com/gitdagray/csv-to-sql/issues)
14+
- [X: @yesdavidgray](https://x.com/yesdavidgray)
15+
16+
## Contributing 🛠
17+
Please read [CONTRIBUTING.md](https://github.com/gitdagray/csv-to-sql/blob/main/CONTRIBUTING.md) prior to contributing.
18+
19+
## Code of Conduct
20+
Please see [CODE_OF_CONDUCT.md](https://github.com/gitdagray/csv-to-sql/blob/main/CODE_OF_CONDUCT.md).

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"repository": "https://github.com/gitdagray/csv-to-sql",
55
"description": "input a csv file, output a sql insert statement",
66
"main": "index.js",
7-
"scripts": {
8-
"start": "node . filename"
9-
},
107
"author": {
118
"name": "Dave Gray",
129
"email": "[email protected]",

0 commit comments

Comments
 (0)