Ensure npm package is installed before using it