linguist-js
Version:
Analyse the programming languages used in a folder or from raw content, using the same rules that GitHub Linguist does.
10 lines (9 loc) • 379 B
TypeScript
import * as T from '../types/types.js';
import Attributes from './classes/attributes.js';
type ProcessFilesResult = {
files: T.AbsFile[];
manualAttributes: Attributes;
relPath(file: T.AbsFile): T.RelFile;
};
export default function processFiles(input: string[], opts: T.Options, useRawContent: boolean, vendorPaths: string[]): Promise<ProcessFilesResult>;
export {};