Skip to content

Commit

Permalink
Updated README after release of v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesBroadberry authored Nov 14, 2021
1 parent 6461736 commit 6cb90de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as bcrypt from "https://deno.land/x/bcrypt/mod.ts";
To ensure that you've got a specific version, it's recommend to import this module specifying a [specific release](https://github.com/JamesBroadberry/deno-bcrypt/releases) like so:

```ts
import * as bcrypt from "https://deno.land/x/bcrypt@v0.2.4/mod.ts";
import * as bcrypt from "https://deno.land/x/bcrypt@v0.3.0/mod.ts";
```

## Usage
Expand Down Expand Up @@ -71,6 +71,11 @@ const salt = bcrypt.genSaltSync(8);
const hash = bcrypt.hashSync("test", salt);
```

### Older versions of Deno and/or BCrypt

Older versions of Deno will require an older version of this library (specifically < 0.3.0) because of the introduction of `TextEncoder`.
However, older version of this library require the `--unstable` flag when running.

## Issues

For any bug reports or feature requests, please create an issue on [GitHub](https://github.com/JamesBroadberry/deno-bcrypt/issues).

0 comments on commit 6cb90de

Please sign in to comment.