npm.io
0.3.0 • Published 5 months ago

extra-compatible

Licence
MIT
Version
0.3.0
Deps
3
Size
14 kB
Vulns
0
Weekly
0

extra-compatible

Install

npm install --save extra-compatible
# or
yarn add extra-compatible

API

performanceNow
function performanceNow(): number
hmacSHA256
function hmacSHA256(secret: string, text: string): Promise<string>
sha256
function sha256(input: string | DataView<ArrayBuffer> | TypedArray<ArrayBuffer>): Promise<string>
sha1
function sha1(input: string | DataView<ArrayBuffer> | TypedArray<ArrayBuffer>): Promise<string>