Open Richienb opened 3 years ago
So that means the only thing that needs to be done is importing the API in the environment-specific way and making it easier? to use.
I assume that when the module is no longer experimental, they'll make the APIs globals, like in the browser.
Making them easier to use sounds nice in theory, but you need to know what you're doing. You might as well make it worse and potentially introduce security issues. Be careful if you decide to do this.
Like
crypto-hash
but implements encryption and decryption rather than hashing. There appears to be encryption APIs built-in to browsers as well as Node.js so it would be useful to access them in an easy way.