prismarine-web-client-mirror/index.js

10 lines
345 B
JavaScript
Raw Normal View History

2021-02-27 16:27:59 -05:00
if (typeof process !== 'undefined' && parseInt(process.versions.node.split('.')[0]) < 14) {
console.error('Your node version is currently', process.versions.node)
console.error('Please update it to a version >= 14.x.x from https://nodejs.org/')
process.exit(1)
}
module.exports.helloWorld = function () {
console.log('Hello world !')
}