added example 8 - requiring npm modules