UNPKG
@ctx-core/file-reader
Version:
latest (7.2.11)
7.2.11
7.2.10
7.2.9
7.2.8
7.2.7
7.2.6
7.2.5
7.2.4
7.2.3
7.2.2
7.2.1
7.2.0
7.1.21
7.1.20
7.1.19
7.1.18
7.1.17
7.1.16
7.1.15
7.1.14
7.1.13
7.1.12
7.1.11
7.1.10
7.1.9
7.1.8
7.1.7
7.1.6
7.1.5
7.1.4
7.1.3
7.1.2
7.1.1
7.1.0
7.0.44
7.0.43
7.0.42
7.0.41
7.0.40
7.0.39
7.0.38
7.0.37
7.0.36
7.0.35
7.0.34
7.0.33
7.0.32
7.0.30
7.0.29
7.0.28
7.0.27
7.0.26
7.0.25
7.0.24
7.0.23
7.0.22
7.0.20
7.0.19
7.0.18
7.0.17
7.0.16
7.0.15
7.0.14
7.0.13
7.0.12
7.0.11
7.0.9
7.0.8
7.0.7
7.0.6
7.0.4
7.0.3
7.0.2
7.0.0
6.0.10
6.0.9
6.0.8
6.0.7
6.0.6
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.3.3
5.3.2
5.3.1
5.3.0
5.2.1
5.2.0
5.1.3
5.1.2
5.1.1
5.1.0
5.0.10
5.0.9
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.1.0
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.1.34
3.1.33
3.1.32
3.1.30
3.1.29
3.1.28
3.1.27
3.1.26
3.1.25
3.1.24
3.1.22
3.1.21
3.1.20
3.1.19
3.1.17
3.1.16
3.1.15
3.1.14
3.1.13
3.1.12
3.1.11
3.1.10
3.1.9
3.1.8
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.1.0
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.0
ctx-core file-reader
github.com/ctx-core/file-reader
ctx-core/file-reader
@ctx-core/file-reader
/
readAs_DataURL
/
index.js
10 lines
(9 loc)
•
232 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ readAs }
from
'../readAs/index.js'
/** *
@param
{
File
}
file
*
@returns
{
Promise<string>
} */
export
async
function
readAs_DataURL
(
file
) {
return
await
readAs
(file,
'DataURL'
) }
export
{ readAs_DataURL
as
readAsDataURL, }