UNPKG
svg-to-url
Version:
latest (4.0.0)
4.0.0
3.0.0
2.0.0
1.1.0
1.0.2
1.0.1
1.0.0
A simple tool to convert svg file to data url
github.com/zillding/svg-to-url
zillding/svg-to-url
svg-to-url
/
index.d.ts
4 lines
(3 loc)
•
161 B
TypeScript
View Raw
1
2
3
4
declare
function
stringToUrl
(
svgoConfig
:
object
):
(
data
:
string
) =>
string
;
export
{ stringToUrl };
export
default
function
(
filePath
:
string
):
Promise
<
string
>;