node-open

open a file or uri with the users preferred application (browser, editor, etc), cross platform

  • 所有者: pwnall/node-open
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

open

Open a file or url in the user's preferred application.

Usage

var open = require("open");
open("http://www.google.com");

open takes an optional argument specifying the program to be used to open the
file or URL.

open("http://www.google.com", "firefox");

Installation

npm install open

How it works

  • on win32 uses start
  • on darwin uses open
  • otherwise uses the xdg-open script from freedesktop.org

Warning

The same care should be taken when calling open as if you were calling
child_process.exec
directly. If it is an executable it will run in a new shell.

主要指標

概覽
名稱與所有者pwnall/node-open
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2012-06-07 13:55:47
推送於2021-02-12 16:15:48
最后一次提交2014-07-10 09:47:03
發布數1
最新版本名稱v0.0.3 (發布於 2013-01-26 13:03:33)
第一版名稱v0.0.3 (發布於 2013-01-26 13:03:33)
用户参与
星數560
關注者數13
派生數57
提交數35
已啟用問題?
問題數47
打開的問題數32
拉請求數4
打開的拉請求數12
關閉的拉請求數9
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?