function node(_ref) {
  var DOMParser = _ref.DOMParser,
      canvas = _ref.canvas,
      fetch = _ref.fetch;
  return {
    window: null,
    ignoreAnimation: true,
    ignoreMouse: true,
    DOMParser: DOMParser,
    fetch: fetch,
    createCanvas: canvas.createCanvas,
    createImage: canvas.loadImage
  };
}
Options preset for `node-canvas`.
@param config - Preset requirements.
@param config.DOMParser - XML/HTML parser from string into DOM Document.
@param config.canvas - `node-canvas` exports.
@param config.fetch - WHATWG-compatible `fetch` function.