UNPKG

print-arch

Version:

Cross-platform print platform and architecture

11 lines (8 loc) 244 B
'use strict' function platformAndArchitecture () { const platform = `platform: ${process.platform}` const arch = `arch: ${process.arch}` const message = platform + '\n' + arch return message } module.exports = platformAndArchitecture