This script fetches and prints all characters of a Star Wars movie based on the provided movie ID.
- Node.js installed
- The
request
modulecurl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
- Install semi-standard
sudo npm install semistandard --global
- Install request module and use it
sudo npm install request --global export NODE_PATH=/usr/lib/node_modules
To run the script, provide the movie ID as a positional argument:
./0-starwars_characters.js <movie_id>