Add bcryptjs

This commit is contained in:
Lucas Patenaude
2024-03-15 03:27:25 -06:00
parent 1d1dc1357e
commit 90b9347318
563 changed files with 79679 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
// parse out just the options we care about
const looseOption = Object.freeze({ loose: true })
const emptyOpts = Object.freeze({ })
const parseOptions = options => {
if (!options) {
return emptyOpts
}
if (typeof options !== 'object') {
return looseOption
}
return options
}
module.exports = parseOptions