Codota Logo For Javascript
x-ray
Code IndexAdd Codota to your IDE (free)

How to use x-ray

Best JavaScript code snippets using x-ray(Showing top 2 results out of 315)

origin: hlopezmx/eventScrapper

function () {

  // the url for the page to be scraped
  var url = Settings.url;

  // the array of Event objects to be populated
  var events = [];

  // configuration of the elements to be scraped
  x(url, Settings.selector.container, [{
    artist: Settings.selector.artist,
    venue: Settings.selector.venue,
    date_time: Settings.selector.date_time,
    price: Settings.selector.price
  }])
  // action function
  (function (err, obj) {
    // populate the Events array wit the results
    events = obj;
  })
  return {
    // the public method getEvents returns the array of Events
    getEvents: function () {
      return events;
    }
  }
}()
origin: roccomuso/price-monitoring

})
this.x = Xray({
 filters: {
  trim: function (value) {
}).driver(this.nightmareDriver)
x-ray(npm)

Most used x-ray functions

  • Instance.driver
  • Xray
  • x

Popular in JavaScript

  • fs-extra
    fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
  • glob
    a little globber
  • fs
  • axios
    Promise based HTTP client for the browser and node.js
  • js-yaml
    YAML 1.2 parser and serializer
  • rimraf
    A deep deletion module for node (like `rm -rf`)
  • colors
    get colors in your node.js console
  • express
    Fast, unopinionated, minimalist web framework
  • mongodb
    The official MongoDB driver for Node.js
  • Top plugins for WebStorm
    The challenge is finding the best plugins for JavaScript development on Intellij IDEs. Who wants to sit there and go over hundreds of plugins to pick the best?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJavascript Code Index
Get Codota for your IDE now