From 444d736337c88f220fae321b75eba68bde5d937e Mon Sep 17 00:00:00 2001 From: Brittney Trinh Date: Wed, 26 Jul 2023 12:10:07 -0700 Subject: [PATCH] import readline, mandates, cities --- package-lock.json | 7 +++++++ package.json | 1 + src/index.ts | 12 +++++++++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 1336dca..963df49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,10 +8,17 @@ "name": "map-interactive", "version": "0.1.0", "devDependencies": { + "@types/node": "^20.4.5", "prettier": "3.0.0", "typescript": "^5.1.6" } }, + "node_modules/@types/node": { + "version": "20.4.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.5.tgz", + "integrity": "sha512-rt40Nk13II9JwQBdeYqmbn2Q6IVTA5uPhvSO+JVqdXw/6/4glI6oR9ezty/A9Hg5u7JH4OmYmuQ+XvjKm0Datg==", + "dev": true + }, "node_modules/prettier": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", diff --git a/package.json b/package.json index 563d54d..75c456f 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "lint": "prettier --check . && eslint ." }, "devDependencies": { + "@types/node": "^20.4.5", "prettier": "3.0.0", "typescript": "^5.1.6" } diff --git a/src/index.ts b/src/index.ts index 0f50426..18d1f5b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,11 @@ -console.log("hello world"); \ No newline at end of file +/* + index.ts + Javascript i/o interactive +*/ +const readline = require("readline"); + +const MANDATES_CSV = + "https://raw.githubusercontent.com/ParkingReformNetwork/mandates-map/main/map/trimmed_map_data.csv"; +const CITIES_JSON = + "https://raw.githubusercontent.com/ParkingReformNetwork/parking-lot-map/main/data/score-cards.json"; +