check if a library exists on npm