try opening that cdn link you sent in a browser. it’ll open a directory listing for the package. you can see some examples of what urls to use on the main jsdelivr page.
I imagine the url you want is probably something like https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js (note the extra path on the end and also a specific pinned version instead of latest so new versions don’t break things)
it’s not data validation like you’d put in a dto, it’s an assertion library for unit tests and such. It’s mostly just sugar that makes chaining together assertions more concise with better autocomplete you get from fluent apis. You can do the same thing with built in Assert but it’s nowhere near as nice to use