UNPKG
opm-cli
Version:
latest (1.1.0)
1.1.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Unofficial package manager for Sponge's Ore Plugin Repository.
gitlab.com/forester-jaden/opm
opm-cli
/
lib
/
util
/
get-server.ts
5 lines
(4 loc)
•
149 B
text/typescript
View Raw
1
2
3
4
5
import
*
as
glob
from
'glob-promise'
;
export
default
async
function
getServer
(
):
Promise
<string |
null
> {
return
(
await
glob
(
'sponge*.jar'
))[
0
]; }