Nodejs safepasswordgenerator api