# ----------------------------------------------------------------------------
# 
# EOL - End of life detection - Warn before reaching end of life
#
# detect version of NODE JS
#
# ----------------------------------------------------------------------------
# 2020-02-25  v1.0  <axel.hahn@iml.unibe.ch>
# ----------------------------------------------------------------------------

# ----- example output
#   node --version
#   v13.7.0

node --version | cut -f 1 -d "." | sed "s#v##"