Node CLI tool to convert JSON/SQL data to use in React/Node web project
Budget: $30 – $250 USD
I need a small but solid Node.js command-line utility that can take either a JSON file or SQL-ready text and turn it into a single, well-structured TXT file made up of plain text rows. Nothing fancy—just reliable, repeatable conversion.
Here’s the basic flow I’m after: I pass the tool a source file (or pipe data to STDIN), the script detects whether it’s JSON or SQL, parses it accordingly, then writes out a .txt file where every record becomes one clean row of text. No CSV commas, no XML tags—just the rows, exactly as they appear in the structured data, so they’re ready for further scripting or quick human review.
I’m coding day-to-day in Node, so please keep dependencies light: native fs, maybe commander or yargs for argument handling, and any proven parser you prefer for SQL and JSON. The finished product should run with a single npm install, include a concise README and a handful of sample input/output files so I can sanity-check everything immediately.
Deliverables
• CLI script (ES6) and package.json
• Clear usage instructions & help flag
• Sample JSON and SQL inputs with their generated TXT outputs
• Short README covering install, usage, and any edge-case notes
Once everything is in place, I’ll run a quick test against my existing datasets; if each record appears on its own line in the resulting TXT, we’re good to go.
Here’s the basic flow I’m after: I pass the tool a source file (or pipe data to STDIN), the script detects whether it’s JSON or SQL, parses it accordingly, then writes out a .txt file where every record becomes one clean row of text. No CSV commas, no XML tags—just the rows, exactly as they appear in the structured data, so they’re ready for further scripting or quick human review.
I’m coding day-to-day in Node, so please keep dependencies light: native fs, maybe commander or yargs for argument handling, and any proven parser you prefer for SQL and JSON. The finished product should run with a single npm install, include a concise README and a handful of sample input/output files so I can sanity-check everything immediately.
Deliverables
• CLI script (ES6) and package.json
• Clear usage instructions & help flag
• Sample JSON and SQL inputs with their generated TXT outputs
• Short README covering install, usage, and any edge-case notes
Once everything is in place, I’ll run a quick test against my existing datasets; if each record appears on its own line in the resulting TXT, we’re good to go.
Related categories:
JavaScript
SQL
Node.js
Software Development
React.js
JSON
Powershell
Scripting
Web Development
Automation