check if a module name is already registered on npm