which [Node Require] is the right way to use and why?

22 views Asked by At

While importing node package 'cluster', i have used both of the following options and worked fine, which one should be used and what would be the benefit and issue on not using it?

  1. require('cluster')
  2. require('node:cluster')
0

There are 0 answers