A very small module, which allows developers to specify SRI attributes for their external assets in *.libraries.yml.
Example:
test_asset:
js:
"https://cdnjs.cloudflare.com/ajax/libs/jquery.sumoselect/3.0.2/jquery.sumoselect.js":
type: external
minified: true
integrity: sha256-o0G4qUYy+/nkaocR6qFtWcNgEfTcNbzoy373p8dyepY=
crossorigin: anonymous
Will result in: