/
lostSun
/
project-client-server-apps
Обзор
Документация
Войти
/
lostSun
/
project-client-server-apps
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
project-client-server-apps
/
...
/
node_modules
/
ssri
/
..
CHANGELOG.md
update project
год назад
LICENSE.md
update project
год назад
README.md
update project
год назад
index.js
update project
год назад
package.json
update project
год назад
ssri
Install
Table of Contents
Example
Features
Contributing
API
`> ssri.parse(sri, [opts]) -> Integrity`
Example
`> ssri.stringify(sri, [opts]) -> String`
Example
`> Integrity#concat(otherIntegrity, [opts]) -> Integrity`
Example
`> Integrity#merge(otherIntegrity, [opts])`
Example
`> Integrity#toString([opts]) -> String`
Example
`> Integrity#toJSON() -> String`
Example
`> Integrity#match(sri, [opts]) -> Hash | false`
Example
`> Integrity#pickAlgorithm([opts]) -> String`
Example
`> Integrity#hexDigest() -> String`
Example
`> ssri.fromHex(hexDigest, algorithm, [opts]) -> Integrity`
Example
`> ssri.fromData(data, [opts]) -> Integrity`
Example
`> ssri.fromStream(stream, [opts]) -> Promise`
Example
`> ssri.create([opts]) -> `
Example
`> ssri.checkData(data, sri, [opts]) -> Hash|false`
Example
`> ssri.checkStream(stream, sri, [opts]) -> Promise`
Example
`> integrityStream([opts]) -> IntegrityStream`
Example
README.md