Is the given string an acceptable npm package name?