diff --git a/README.md b/README.md index 208d80a..3d41c4e 100644 --- a/README.md +++ b/README.md @@ -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,