You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: adding ssri.create for a crypto style interface (#2)
* feat: adding ssri.create for a crypto style interface
adding crypto.create
adding toJSON to Integrity
* chore: standard
* fix: update nits and fix documentation for create.
create was misdocumented as returning Integrity but it return a Hash
Returns the string representation of an `Integrity` object. All hash entries
208
+
will be concatenated in the string by `' '`.
209
+
210
+
This is a convenience method so you can pass an `Integrity` object directly to `JSON.stringify`.
211
+
For more info check out [toJSON() behavior on mdn](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON%28%29_behavior).
0 commit comments