Description: function that receives a password as input and checks if it finds it in a local database and returns true / false accordingly
Tools: line-reader https://github.com/nickewing/line-reader
script:
if (line === password) { // if done
return false; // stop reading stream
}
programming test