Socket
Socket
Sign inDemoInstall

tresorit-webcrypto-core

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tresorit-webcrypto-core

Common layer to be used by crypto libraries based on WebCrypto API for input validation.


Version published
Maintainers
1
Created
Source

License Build Status Coverage Status

NPM

webcrypto-core

We have created a number of WebCrypto polyfills including: node-webcrypto-ossl, node-webcrypto-p11, and webcrypto-liner. webcrypto-core was designed to be a common layer to be used by all of these libraries for input validation.

Unless you intend to create a WebCrypto polyfill this library is probably not useful to you.

Dependencies

Install all dependencies

npm install

NOTE: npm install command downloads and installs modules to local folder. You can install all dependencies globally

typescript

npm install typescript --global

rollup

npm install rollup --global

mocha

npm install mocha --global

Single line command for all modules

npm install typescript rollup mocha --global

Compilation

Compile the source code using the following command:

npm run build

NOTE: Command creates webcrypto-core.js and webcrypto-core.min.js files in build folder

Compile the source code with declaration using the next command:

tsc --declaration

Test

npm test

Size

FilesSize
webcrypto-core.js59Kb
webcrypto-core.min.js25Kb

Keywords

FAQs

Package last updated on 26 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc