generate-license-file
Version:
Generates a text file containing all of the licenses for your production dependencies
21 lines (20 loc) • 666 B
TypeScript
export declare const lineEndings: readonly ["crlf", "lf"];
/**
* Used to specify which line endings to use in the generated file.
*
* Possible values are:
*
* `crlf` (`\r\n`)
*
* `lf` (`\n`)
*/
export type LineEnding = (typeof lineEndings)[number];
declare const lineEndingsMap: {
readonly crlf: "\r\n";
readonly lf: "\n";
};
export type LineEndingCharacters = (typeof lineEndingsMap)[LineEnding];
export declare const lineEndingCharacters: ("\n" | "\r\n")[];
export declare const isLineEnding: (input: unknown) => input is LineEnding;
export declare const getLineEndingCharacters: (input: LineEnding | undefined) => LineEndingCharacters;
export {};