I couldn’t find a simple JavaScript library for smoothly scrolling up and down on a page, so I made one:

See the Pen VYpXJy by Iestyn Williams (@iest) on CodePen.

It’s 814 bytes unminified.

Source code here or grab it from npm: npm install buttery-scroll.