UNPKG

locutus

Version:

Locutus other languages' standard libraries to JavaScript for fun and educational purposes

14 lines (13 loc) 290 B
type GopherKnownEntry = { type: number; title: string; path: string; host: string; port: string; }; type GopherUnknownEntry = { type: -1; data: string; }; export declare function gopher_parsedir(dirent: string): GopherKnownEntry | GopherUnknownEntry; export {};