Skip to content

tomiho19/arepasswordsequal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

are-passwords-equal

Build Status

Returns true if passwords are equal, otherwise returns false.

Install

Install with npm:

$ npm install --save are-passwords-equal

Usage

Works only with strings:

const arePasswordsEqual = require('are-passwords-equal'); // or import arePasswordsEqual from 'are-passwords-equal';

console.log(arePasswordsEqual('password', 'another_passowrd')); //=> false
console.log(arePasswordsEqual('password', 'passowrd')); //=> true

Testing

Run test:

npm run test

Author

Oleksii Sydorenko:

License

Copyright © 2021, Oleksii Sydorenko. Released under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published