stackoverflow-careers
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -62,3 +62,12 @@ let xml2js = require('xml2js').parseString, | ||
module.exports.getCareers = (props, cb) => { | ||
/** | ||
* @property {Object} props - Properties for your search | ||
* @property {String} query - Additional information for the search (eg. "Junior" or "remote full time" etc). | ||
* @property {String} location - Location for the job search. Make this as specific as possible. | ||
* @property {String[]} techLiked - An array of technologies prefered. (eg. ["javascript", "c", "Java", "wordpress"]) | ||
* @property {String[]} techDisliked - An array of technologies to filter out. (eg. ["fortran", "c++", "AWS"]) | ||
* @property {String} Unit - Unit of measurement for distance. Typically this should be miles. | ||
* @param {Function} cb - Callback for the array of objects returned. | ||
*/ | ||
function getCareers(props, cb) { | ||
@@ -78,2 +87,6 @@ if(!utils.validObject(props)) { | ||
}); | ||
}; | ||
module.exports = { | ||
getCareers, | ||
}; |
{ | ||
"name": "stackoverflow-careers", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A wrapper for the StackOverflow careers feed.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,9 +10,7 @@ # StackOverflow Careers API for Javascript applications. | ||
npm install stackoverflow-careers --save-dev | ||
npm install stackoverflow-careers | ||
where `--save-dev` will add it to your `package.json` dependencies. | ||
Next, add the following into your Nodejs project: | ||
let StackOverflow = require('stackoverflow-careers'); | ||
const StackOverflow = require('stackoverflow-careers'); | ||
@@ -29,2 +27,7 @@ StackOverflow.getCareers({ | ||
}); | ||
}); | ||
}); | ||
# Outstanding issues | ||
- I'm aware that the output for the main job listing is full of HTML tags. I'm looking for a way to solve this ASAP (read: not in the quickest, most horrendous way possible) and I'm open to suggestions. | ||
- The output objects are a bit nasty. I'll clean these up in the next release (a few days time when I get the chance). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5143
81
32