UNPKG

jobberjs

Version:

3rd party library for retrieving jobs from job boards

33 lines (32 loc) 727 B
/** * Additional information for a LinkedIn Job * * IE: Employment Type, Seniority Level, Industry */ export declare type JobCriteriaItem = { name: string; value: string[]; }; /** * Description of a LinkedIn Job */ export declare type JobDescription = { /** * Name of job */ title: string; /** * Company posting this job */ company: string; /** * Entire description of the job in markdown format */ descriptionMarkdown: string; criteria: JobCriteriaItem[]; }; /** * Take the HTML of a LinkedIn job posting, and return a JobDescription * @param html html of the job posting */ export default function jobDescriptionParser(html: string): JobDescription;