Practical Microservices: import of uuid (page 6)

Importing uuid seems to work like this nowadays:

const { v4: uuid } = require('uuid')
3 Likes

Indeed. That was unfortunate timing for that change. Thank you for posting the solution.

1 Like