<commit_before>source common/functions.sh

# nodejs
if which node &> /dev/null; then
    msg_checking "node"
else
    msg_install "node" "brew install node"
    brew install node
    msg_ok "OK"
fi

# nodemon
if which nodemon &> /dev/null; then
    msg_checking "nodemon"
else
    msg_install "nodemon" "npm install -g nodemon"
    npm install -g nodemon
    msg_ok "OK"
fi

# mongo-hacker
if which mongo-hacker &> /dev/null; then
    msg_checking "mongo-hacker"
else
    msg_install "mongo-hacker" "npm install -g mongo-hacker"
    npm install -g mongo-hacker
    msg_ok "OK"
fi

# # yeoman
# if which yo &> /dev/null; then
#    msg_checking "yo"
# else
# #    msg_install "yo" "npm install -g yo"
#    npm install -g yo<commit_msg>Update global.sh<commit_after>source common/functions.sh

# nodejs
if which node &> /dev/null; then
    msg_checking "node"
else
    msg_install "node" "brew install node"
    brew install node
    msg_ok "OK"
fi

# npm config
npm set init-author-name "<NAME>"
npm set init-author-email "<EMAIL>"
npm set init-author-url "http://fabriciofmsilva.com.br/"
npm set init-license "MIT"
npm adduser

# nodemon
if which nodemon &> /dev/null; then
    msg_checking "nodemon"
else
    msg_install "nodemon" "npm install -g nodemon"
    npm install -g nodemon
    msg_ok "OK"
fi

# mongo-hacker
if which mongo-hacker &> /dev/null; then
    msg_checking "mongo-hacker"
else
    msg_install "mongo-hacker" "npm install -g mongo-hacker"
    npm install -g mongo-hacker
    msg_ok "OK"
fi

# # yeoman
# if which yo &> /dev/null; then
#    msg_checking "yo"
# else
# #    msg_install "yo" "npm install -g yo"
#    npm install -g yo
{'fraction_non_alphanumeric': 0.11097634930260764, 'fraction_numerical': 0.0, 'mean_word_length': 3.114713216957606, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2075943', 'n_tokens_mistral': 636, 'n_tokens_neox': 608, 'n_words': 190}