UNPKG

jobberjs

Version:

3rd party library for retrieving jobs from job boards

17 lines (16 loc) 427 B
/** * JobSearchItem represents an item of a LinkedIn job search */ export declare type JobSearchItem = { title: string; company: string; /** * Unique LinkedIn ID of the job */ id: string; }; /** * Take the HTML of a LinkedIn job posting, and return an array of JobSearchItem * @param html html of the search results */ export default function searchResultsParser(html: string): JobSearchItem[];