[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request kelektiv#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 0e352c2 + 5308e9d commit fad6840
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
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 fad6840

Please sign in to comment.