/deno-scripts

My Handy Deno Scripts to run anywhere when needed

Primary LanguageTypeScriptMIT LicenseMIT

Warning

This project has been replaced by my deno-utils project, as it was confusing to maintain 2 repos doing the same thing. Archiving it for any future references, but eventually I'll delete this project, once all scripts from this repo are migrated to deno-utils.

deno-scripts

My Handy Deno Scripts/Simple single file projects to run anywhere when needed

Projects

csv2json.ts

deno run --allow-read --allow-write --unstable ./src/csv2json.ts input.csv [output.json]

log_json_file_server.ts

This script is mostly useless. It's usecase is very specific to my current on-going project in upGrad. Anyways I learnt a lot building everything from scratch though 😏 😉

# Support uploading JSON payload as JSON log file
deno run --allow-net --allow-read --allow-write --unstable ./src/log_json_file_server.ts --port 9000 -f ./out/l3.json -u

# Don't allow JSON payload Posts (Writes) to create a JSON files, just allow reading already created JSON log files.
deno run --allow-net --allow-read --allow-write --unstable ./src/log_json_file_server.ts --port 9000