Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stackoverflow-careers

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stackoverflow-careers - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

15

lib/SO.js

@@ -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,
};

2

package.json
{
"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).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc