It's not generally available in browser environments / certain Yarn modes and can easily be replaced by TextEncoder.