supercharge / framework

The Supercharge core code
https://superchargejs.com
MIT License
23 stars 6 forks source link

Hashing: add type for supported algorithms #152

Closed marcuspoehls closed 1 year ago

marcuspoehls commented 1 year ago

This pull request adds a HashAlgorithms interface providing the list of supported hash algorithms in Node.js v20. This allows us to use a type alias for a hash algorithm that improves the developer experience by providing IntelliSense when working with hashes.