I'd prefer this to be 'npm install toplevel'. You would only need to install it globally if you wanted to use which-top unqualified.