Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

airtap-default

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airtap-default

Default browser provider

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

airtap-default

Default browser provider. Opens the default browser on your machine.

npm status node Travis build status JavaScript Style Guide

Table of Contents

Usage

Programmatic

const Default = require('airtap-default')
const provider = new Default()

// Get a list of desired browsers (there's just 1 here)
const wanted = [{ name: 'default' }]
const manifests = await provider.manifests(wanted)

// Instantiate a browser
const target = { url: 'http://localhost:3000' }
const browser = provider.browser(manifests[0], target)

await browser.open()

With Airtap

providers:
  - airtap-default

browsers:
  - name: default

API

Default()

Constructor. Returns an instance of browser-provider.

Install

With npm do:

npm install airtap-default

License

MIT © 2020-present Airtap contributors

Keywords

airtap

FAQs

Package last updated on 23 Aug 2020

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