code to download/install npm packages