browser-fns Single paragraph about why this library exists Get started Install yarn add browser-fns # or npm install --save browser-fns Use import { scrollToTop } from 'browser-fns' scrollToTop()