Why the example in README uses sudo by default? It seems more suitable to install APIs into local user directory by default and don't force the users to run your command as root.
You need to install it globally and it needs to be able to copy files into /usr. I reckoned this is how its down with global npm installations. Do you have any other solution?
Using sudo with npm is not required, you can configure it to store things in your user dir: