@aws-crypto/ie11-detection
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

@aws-crypto/ie11-detection

Functions for interact with IE11 browsers Crypto. The IE11 window.subtle functions are unique. This library is used to identify an IE11 window and then offering types for crypto functions. For example see @aws-crypto/random-source-browser

Usage

import {isMsWindow} from '@aws-crypto/ie11-detection'

if (isMsWindow(window)) {
  // use `window.subtle.mscrypto`
}

Test

npm test

Keywords

none

Install

npm i @aws-crypto/ie11-detection

DownloadsWeekly Downloads

7,349,895

Version

4.0.0

License

Apache-2.0

Unpacked Size

28.8 kB

Total Files

29

Last publish

Collaborators

  • amzn-oss
  • seebees
  • agray256
  • lavaleri
  • salkeldr
  • aws-crypto-tools-ci-bot
  • mattsb42-aws
  • farleyb-aws