validate-npm-package-license

Give me a string and I'll tell you if it's a valid npm package license string