KeyObject.prototype.asymmetricKeySize - Node documentation
property KeyObject.prototype.asymmetricKeySize

Usage in Deno

import { KeyObject } from "node:crypto";

For asymmetric keys, this property represents the size of the embedded key in bytes. This property is undefined for symmetric keys.

Type

number | undefined