Help to apply 'scroll-to-element api' to my site

Hello to all! I have recently installed the ‘scroll-to-element’ npm api to my site in order to achieve a smooth scrolling to this page of my site: I followed the example of npm help page but nothing happend.Can someone help me to apply this api to my site using options like ease or duration? Many thanks!