How to use the opn.bind function in opn

To help you get started, we’ve selected a few opn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kenjiSpecial / interaction-with-artificial-physics-dev / app-sp / gulpfile.js View on Github external
.on('connect', function (ev) {
            ready = once(openURL.bind(null, ev.uri))
        .once('update', function () {
github kenjiSpecial / webgl-sketch-dojo / gulpfile.js View on Github external
.on('connect', function(ev) {
    ready = once(openURL.bind(null, ev.uri))
  .once('update', function() {


Open stuff like URLs, files, executables. Cross-platform.

Latest version published 5 years ago

Package Health Score

61 / 100
Full package analysis

Popular opn functions