- The code is written in TypeScript and uses ts-node for lightweight JIT execution
- The Axios HTTP client is used to manage API request/response
- Dependencies are handled by NPM
- zip-state package was added for easy conversion of zipcodes to state names
1. Node Package Manager installed
2. Git installed
1. Use Git to clone this repository to a local directory
- In Git Bash, change the current working directory to the location where this repository should be cloned
- In the directory run the command:
git clone https://github.com/austinesmith/api-transform
2. Install dependencies
- Run the command
npm installin the root directory of the project - This creates the
node_modulesdirectory containing required packages
3. Run script
- Run the command
npm run transformin the root directory of the project - The script was added to
package.jsonto encourage execution with ts-node - Alternatively, you can run
npx ts-node ./src/transform.ts