You'll need your two-servo setup from the previous chapter, and that's it for hardware for this chapter.
The code for this chapter can be found at https://github.com/PacktPublishing/Hands-On-Robotics-with-JavaScript/tree/master/Chapter08.