JSPM

webcrypto

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7720
  • Score
    100M100P100Q118218F
  • License MIT

Use the Node.js crypto module API without having to worry if it is being run in browser or Node.js

Package Exports

  • webcrypto

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webcrypto) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

webcrypto

Coverage Status Travis CI Circle CI Dependency Status js-standard-style

WebCryptoAPI polyfil to work in Node.js in the Browser (so that you don't have to be concerned about moving crypto code between a browser and server side app)

Roadmap

  • Expose the Node.js crypto module interface
  • Use crypto-browserify to make it work in the browser
  • Replace crypto-browserify with WebCryptoAPI when browser supports it
  • Consider if we should replace the functions that TweetNaCL offers for perf/or and stability improvements

API

This module should follow at all times the Node.js Crypto API https://nodejs.org/api/crypto.html

Tests

This module is using tests from crypto-browserify to validate that the expectations remain fulfilled