1.0.1 • Published 8 years ago
tresorit-webcrypto-core v1.0.1
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 installNOTE:
npm installcommand downloads and installs modules to local folder. You can install all dependencies globally
typescript
npm install typescript --globalrollup
npm install rollup --globalmocha
npm install mocha --globalSingle line command for all modules
npm install typescript rollup mocha --globalCompilation
Compile the source code using the following command:
npm run buildNOTE: Command creates
webcrypto-core.jsandwebcrypto-core.min.jsfiles inbuildfolder
Compile the source code with declaration using the next command:
tsc --declarationTest
npm testSize
| Files | Size |
|---|---|
| webcrypto-core.js | 59Kb |
| webcrypto-core.min.js | 25Kb |
