const bcrypt = require('bcrypt') const pass = async () => { // create a password const salt = await bcrypt.genSalt(12) const passwordHash = await bcrypt.hash('strongpassword', salt) console.log(passwordHash) } pass() // const passDec = async () => { // const _pass = await bcrypt.compare( // 'strongpassword', // '$2b$12$R/bpS7b9FzdXlHAijmP.3.gJqgeUjwQVSuK6q.G0PZbb0wowCnrN.' // ) // console.log('_pass: ', _pass) // } // passDec() console.log('process.cwd(): ', process.cwd())