feat(checker) : developer can define a function to check license

Could you integrate my changes in your code and publish them (npm publish)?
Thanks