Skip to content
Snippets Groups Projects
Select Git revision
  • 4e350bb1941865a9f81639292b5628db926244b4
  • master default protected
  • update-renderer-class
3 results

get.php

Blame
  • detect-node 484 B
    # ----------------------------------------------------------------------------
    # 
    # 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##"