Doesn't this go against the credo of not building your own crypto?
No, it means using the crypto module in the standard library instead of importing some third party dependency.
Depends on what cryptography you're talking about, the Web Crypto API exists for quite some time, so I'd say that fits in (usually) with "The standard library in JS/CSS is great".
No, it means using the crypto module in the standard library instead of importing some third party dependency.