UNPKG
@flystorage/file-storage
Version:
latest (1.2.2)
1.2.2
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
0.1.7
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
File-storage abstraction: multiple filesystems, one API.
flystorage.dev
duna-oss/flystorage
@flystorage/file-storage
/
dist
/
types
/
checksum-from-stream.d.ts
7 lines
(6 loc)
•
236 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
BinaryToTextEncoding
}
from
'crypto'
;
import
{
Readable
}
from
'node:stream'
;
export
declare
function
checksumFromStream
(
stream
:
Readable
,
options
: { algo?:
string
; encoding?: BinaryToTextEncoding; }
):
Promise
<
string
>;