Indian States and Cities with seprate Union Terretories List and Logic to populate a firestore database.
Its a simple script just download and install dependencie's with npm install
.
If uploading to Firebase everything is ready you just have to add your firebase config.
and Run the script with npm start
.
Never used it on Linux
or MAC
so don't know about yarn
.
Depends Upon:
https://www.npmjs.com/package/node-xlsx
npm i node-xlsx
https://www.npmjs.com/package/firebase
npm install --save firebase