The Node.js® Website
at main 211 B view raw
1export const getUserBitnessByArchitecture = ( 2 userArchitecture: string, 3 userBitness: number 4) => { 5 if (userArchitecture === 'arm' && userBitness === 64) { 6 return 'arm64'; 7 } 8 9 return userBitness; 10};