js-green-licenses
Version: 
JavaScript package.json license checker
8 lines (7 loc) • 327 B
TypeScript
import { GitHubRepository } from './github';
export interface Config {
    greenLicenses?: string[];
    packageAllowlist?: string[];
}
export declare function getLocalConfig(directory: string): Promise<Config | null>;
export declare function getGitHubConfig(repo: GitHubRepository, commitSha: string): Promise<Config | null>;