Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 379 Bytes

File metadata and controls

13 lines (10 loc) · 379 Bytes

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