UNPKG

linguist-js

Version:

Analyse the programming languages used in a folder or from raw content, using the same rules that GitHub Linguist does.

4 lines (3 loc) 209 B
import { LanguagesScema } from '../../types/schema.js'; import * as T from '../../types/types.js'; export default function byModeline(file: T.VirtualFile, langData: LanguagesScema, opts: T.Options): string[];