Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ const jsSHA1 = require("jssha/dist/sha1");
import jsSHA from "jssha";
```

#### Deno

jsSHA simply works with Deno via the `npm:` import specifier:

```typescript
import jsSHA from "npm:jssha";
/* Limited variant files are also available */
import jsSHA1 from "npm:jssha/sha1";
```

TypeScript types are resolved automatically from the package.

### Hashing

Instantiate a new `jsSHA` object with the desired hash variant, input format,
Expand Down
Loading