Updates for npm and my utils

This commit is contained in:
2024-09-14 21:36:09 +05:30
parent 0941df79fd
commit e15e028d22
3 changed files with 53 additions and 49 deletions
@@ -336,6 +336,7 @@ subtitleBurn(){
# Gen random password
genPassword(){
cd ~/.node_modules_mine;
node -p "require('base-x')('!#$%&()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}~' ).encode( crypto.randomBytes(${1:-15}) )"
}