title: can't call uuid function after install npm uuid in JS
body: <p>i can't call the uuid function after installing npm uuid in JS, using electron</p>
  
  <p>here is the message on the terminal when i install it, i don't know if this properly installed or not</p>
  
  <pre><code>$ npm install uuid
  npm WARN pemrograman_visual2@1.0.0 No description
  npm WARN pemrograman_visual2@1.0.0 No repository field.
  
  + uuid@7.0.3
  updated 1 package and audited 120 packages in 1.746s
  
  2 packages are looking for funding
    run `npm fund` for details
  
  found 1 low severity vulnerability
    run `npm audit fix` to fix them, or `npm audit` for details
  </code></pre>
  
  <p>and this is where i call the function</p>
  
  <pre><code>ipcMain.on("appointment:create", (event, appointment) =&gt; {
      appointment["id"] = uuid();
      appointment["done"] = 0;
      allAppointment.push(appointment);
  
      CreateWindow.close();
  
      console.log(allAppointment);
  });
  </code></pre>
  
  <p>but when i run the program using $npm start it says TypeError: uuid is not a function</p>