The instance family (e.g., "M5")
Family data including metadata and instance type list
import { getEC2Family } from 'aws-instance-info'
const family = getEC2Family('M5')
console.log(family.category) // 'general_purpose'
console.log(family.instanceTypes) // ['m5.large', 'm5.xlarge', ...]
console.log(family.hypervisor) // 'Nitro v2'
console.log(family.processorArchitecture) // 'Intel (x86_64)'
Get all data for an EC2 instance family. Includes the family metadata and list of instance types in the family. Results are cached using LRU.