From 6c1b7b0165dd6f5629898e6649ed94362ac05411 Mon Sep 17 00:00:00 2001 From: Vishwa Gaurav <81325730+VishwaGauravIn@users.noreply.github.com> Date: Wed, 29 Jun 2022 15:47:39 +0530 Subject: [PATCH] added more jobtypes --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 435c294..ad6e823 100644 --- a/index.js +++ b/index.js @@ -55,10 +55,13 @@ Query.prototype.getExperienceLevel = function(){ Query.prototype.getJobType = function(){ const jobTypeRange = { 'full time': 'F', + 'full-time': 'F', 'part time': 'P', + 'part-time': 'P', 'contract': 'C', 'temporary': 'T', - 'volunteer': 'V' + 'volunteer': 'V', + 'internship': 'I' } return jobTypeRange[this.jobType.toLowerCase()] ?? '' }