UNPKG
neft
Version:
latest (0.11.23)
0.11.23
0.11.22
0.11.21
0.11.20
0.11.19
0.11.18
0.11.17
0.11.16
0.11.15
0.11.14
0.11.13
0.11.12
0.11.11
0.11.10
0.11.9
0.11.8
0.11.7
0.11.6
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.4
0.10.3
0.10.2
0.10.1
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.27
0.8.26
0.8.25
0.8.24
0.8.23
0.8.22
0.8.21
0.8.20
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.1
0.8.0
0.0.1
Universal Platform
neft.io
Neft-io/neft
neft
/
cli
/
tasks
/
run
/
browser.coffee
12 lines
(9 loc)
•
272 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
fs =
require
'fs'
open =
require
'open'
module
.
exports
= (options) -> packageFile =
JSON
.
parse
fs.
readFileSync
'./package.json'
{config} = packageFile url = config.
url
url ?=
"#{config.protocol}://#{config.host}:#{config.port}"
open url