@nodesecure/utils
Version:
NodeSecure utilities
12 lines • 479 B
TypeScript
export declare function manifestAuthorRegex(): RegExp;
export type ParsedMaintainer = {
name: string;
email?: string;
url?: string;
};
/**
* @see https://docs.npmjs.com/cli/v7/configuring-npm/package-json#people-fields-author-contributors
*/
export declare function parseManifestAuthor(manifestAuthorField: string): ParsedMaintainer | null;
export declare function parseAuthor(author: any): ParsedMaintainer | null;
//# sourceMappingURL=parseManifestAuthor.d.ts.map