Skip to content

Commit

Permalink
Merge pull request #899 from mariusa/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
recrsn committed Jan 14, 2022
2 parents 28ccb37 + 2d97681 commit 4c49788
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -174,6 +174,14 @@ async function checkUser(username, password) {
}
```

### ESM import
```javascript
import bcrypt from "bcrypt";

// later
await bcrypt.compare(password, hash);
```

### sync

```javascript
Expand Down

0 comments on commit 4c49788

Please sign in to comment.