packageInfo
Script
v4
Fork
1
2
3
4
import
{
fetchJSON
}
from
"https://esm.town/v/stevekrouse/fetchJSON?v=41"
;
export
const
packageInfo
=
(
packageName
:
string
)
=>
fetchJSON
(
`https://registry.npmjs.org/
${
packageName
}
`
)
;