dotfiles/node/node_utils.sh
2024-01-25 14:38:40 -08:00

12 lines
286 B
Bash

#!/usr/bin/env bash
# vim:set ft=bash:
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& source "../script/utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
npm_install()
{
execute ". $DOT/node/path.zsh && npm install --global --silent $1" "$2"
}