Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @string-hashing/sha1

npm

npm install @string-hashing/sha1 --save

jspm

jspm install npm:@string-hashing/sha1

Usage

Import the library where needed

const sha1 = await import('@string-hashing/sha1');
// or
import * as sha1 from '@string-hashing/sha1';

Examples

More examples in the test files.