Open a file in its source-control remote web interface
Last updated 4 years ago by andrewbranch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install scopen -g
SYNC missed versions from official npm registry.


Open a file in its source-control remote web interface

Build Status


npm install -g scopen


scopen [options] <file>


  -h, --help               output usage information
  -V, --version            output the version number
  -w, --with [cmd]         shell program used to open the URL [open]
  -a, --application [app]  application option passed through to `open`
  -b, --branch [branch]    git branch to view file [current branch]
  -r, --remote [remote]    git remote to view file [origin]
  -v, --verbosity [info]   log level [silent|error|info|debug|verbose]
  -u, --url-only           write the URL to stdout without opening


Please do, especially to add support for other git remotes. AirBnb’s ESLint rules are checked as part of the test suite, so make sure your editor is set up to respect the provided .eslintrc (or at least run npm test before pushing).

To run locally, clone the project and run npm link from within the project directory. Then scopen will be available from the command line, linked to your local installation. npm link must be run again between changes.

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

5 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (13)
Dependents (0)

Copyright 2014 - 2017 © |