Give me a string and I'll tell you if it's a valid npm package name
github.com/npm/validate-npm-package-name
npm/validate-npm-package-name