I am feeling like this is a simple question but I cannot find an answer in the node documentation. I want to use randomUUID
function from node:crypto
module but here is my thought. I can import it in two ways, either
import { randomUUID } from 'crypto'
or
import { randomUUID } from 'node:crypto'
What is the difference between the two imports? I know that node.js can be built without including support for the node:crypto
module but it does not help me much in understanding the difference