constructor(pkg, checkFn) {
        this.package = pkg;
        this.name = pkg.replace(/(?!^@)@.+$/, '');
        this.checkFn = checkFn || (() => true);
    }
@param {string} pkg
@param {(name: string) => boolean} [checkFn]