This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const winston = require('winston') | |
const logLevels = { | |
levels: { | |
emerg: 0, | |
alert: 1, | |
crit: 2, | |
error: 3, | |
warning: 4, | |
notice: 5, | |
info: 6, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################## | |
# Prerequisites | |
# This script only works with nvm | |
# Please install nvm first https://github.com/nvm-sh/nvm | |
#------------------------------------------------- | |
# Installation | |
# Copy this script into your home folder | |
# add "source ~/.autonvm" top the bottom of your .bashrc or .bash_profile | |
#------------------------------------------------- | |
# Usage |