Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browserstacktunnel-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserstacktunnel-wrapper

A Node.js wrapper for the BrowserStack java tunnel client

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
47K
decreased by-1.51%
Maintainers
1
Weekly downloads
 
Created
Source

node-BrowserStackTunnel

A Node.js wrapper for the BrowserStack java tunnel client

http://www.browserstack.com/

Features

  • should start the tunnel using the default jar file included in the package
  • should error if an invalid jar file is specified
  • should error if stopped before started
  • should error if no server listening on the specified host and port
  • should error if started when already running

Installation

npm install browserstacktunnel-wrapper

API

var BrowserStackTunnel = require('browserstacktunnel-wrapper');

var browserStackTunnel = new BrowserStackTunnel({
  key: YOUR_KEY,
  hosts: [{
    name: 'localhost',
    port: 8080,
    sslFlag: 0
  }]
});

browserStackTunnel.start(function(error) {
  if (error) {
    console.log(error);
  } else {
    // tunnel has started
    
    browserStackTunnel.stop(function(error) {
      if (error) {
        console.log(error);
      } else {
        // tunnel has stopped
      }
    });
  }
});

Roadmap

  • Nothing yet

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using ./grunt.sh or .\grunt.bat.

Additionally you will have to use you own BrowserStack credentials to run the tests. To set this add a config file in the location...

test/Support/BrowserStackConfig.js

with the following contents (substitute your own key as supplied by BrowserStack)...

module.exports = {
  key: YOUR_KEY
};

There is a template located at...

test/Support/BrowserStackConfig.example.js

License

Copyright (c) 2012 Peter Halliday
Licensed under the MIT license.

Keywords

FAQs

Package last updated on 15 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc