Skip to content

Keycode

More flesh, less fluff.

Category: Node.js

The difference of using UUID between Node.js 8 and Node.js 10

Node.js 8:

var uuid = require("uuid/v4")
var sessionId = uuid()

Node.js 10:

var uuid = require("uuid")
var sessionId = uuid.v4()
Author pashanhuPosted on 04/10/2020Categories Node.jsTags uuidLeave a comment on The difference of using UUID between Node.js 8 and Node.js 10

Recent Posts

  • Traits and Template Partial Specialisation – 2
  • Traits and Template Partial Specialisation – 1
  • Assert exception during python unit test
  • Resize VirtualBox hard disk capacity
  • Solution to “Another app is currently holding the yum lock; waiting for it to exit”

Recent Comments

No comments to show.
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • August 2021
  • November 2020
  • October 2020
  • June 2020
  • May 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • Algorithm
  • Boost
  • C/C++
  • Debug
  • git
  • GitHub
  • Image/Graphics
  • Java
  • Linux
  • Node.js
  • Other
  • Python
  • Qt
  • Swift
Keycode Proudly powered by WordPress