Let's get this logic centralized. This'd replace [`ensureValidName`](https://github.com/npm/normalize-package-data/blob/master/lib/fixer.js#L316). Things that use `fixNameField` to validate names should probably be updated to use [`validate-npm-package-name`](https://github.com/npm/validate-npm-package-name) directly too. _cough_ [`npm-registry-client`](https://github.com/npm/npm-registry-client/) _cough_
Let's get this logic centralized. This'd replace
ensureValidName. Things that usefixNameFieldto validate names should probably be updated to usevalidate-npm-package-namedirectly too. coughnpm-registry-clientcough