The uuid.validate function is documented on the README, but is not available on the latest versions of the package.
Steps to reproduce the behavior:
[email protected]import { validate } from 'uuid'Attempted import error: 'validate' is not exported from 'uuid' (imported as 'validate').I would like to validate my UUIDs.
It's in beta
https://unpkg.com/browse/[email protected]/
If you could try out the beta and report it it works for you that would be awesome! Will release once we have received some positive feedback.
So, I've used the beta version in my app to validate the UUID, thanks for your answers, and sorry for my impatience!
I'll definitely share my feedback as soon as this reach the production :)
Here's more news from me :)
We used the 8.3.0-beta.0 version on production, and it's going fine !
Looking forward to upgrade as soon as it reaches the final release