UNPKG
@skypack/package-check
Version:
latest (0.2.2)
0.2.2
0.2.1
0.2.0
0.1.0
A quality score checker for npm packages.
github.com/skypackjs/package-check
skypackjs/package-check
@skypack/package-check
/
lib
/
get-repo-url.d.ts
5 lines
(4 loc)
•
239 B
TypeScript
View Raw
1
2
3
4
5
/** Get URL for any asset from a repo */
export
declare
function
repoAssetURL
(
url
:
string
,
filepath
:
string
,
version
?:
string
):
string
|
undefined
;
/** Turn repo URL into normal URL */
export
declare
function
repoURL
(
url
:
string
):
string
;