Merge pull request #17285 from sauhaardac:patch-1

pull/17432/head
Alexander Alekhin 5 years ago
commit 365f44b094
  1. 2
      doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown

@ -146,7 +146,7 @@ npm install canvas jsdom
@code{.js}
const { Canvas, createCanvas, Image, ImageData, loadImage } = require('canvas');
const { JSDOM } = require('jsdom');
const { writeFileSync } = require('fs');
const { writeFileSync, existsSync, mkdirSync } = require("fs");
// This is our program. This time we use JavaScript async / await and promises to handle asynchronicity.
(async () => {

Loading…
Cancel
Save