mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-11-24 16:47:52 -05:00
10 lines
345 B
JavaScript
10 lines
345 B
JavaScript
|
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 !')
|
||
|
}
|