
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
airtap-multi
Advanced tools
Use multiple browser providers as one.
const Multi = require('airtap-multi')
const multi = new Multi()
multi.add('airtap-playwright')
multi.add('airtap-sauce')
// Get manifests with name 'firefox'
const manifests = await multi.manifests([{
name: 'firefox'
}])
// Only from the airtap-sauce provider
const manifests = await multi.manifests([{
name: 'firefox',
provider: 'airtap-sauce'
}])
// Instantiate a browser (see browser-provider for details)
const browser = multi.browser(manifest, target)
multi = new Multi()
Implements the browser-provider
interface with a few additional methods.
multi.add(id[, options])
Add a provider that's been installed in a nearby node_modules
. The optional options
object will be passed to the provider's constructor.
multi.add(object[, options])
Add multiple providers in the form of { [id]: options }
:
multi.add({
'airtap-sauce': {
username: 'example',
key: 'secret'
}
})
If the second options
argument is provided, those options will be deeply merged into the options of each provider.
multi.add(fn[, options])
Add a provider as a constructor function.
multi.add(array[, options])
Add multiple providers using an array, where each array element is of the above types (string, object or function).
provider = multi.get(id)
Get an added provider by its id.
iterator = multi[Symbol.iterator]()
for (const [id, provider] of multi) {
// ..
}
iterator = multi.keys()
for (const id of multi.keys()) {
// ..
}
iterator = multi.values()
for (const provider of multi.values()) {
// ..
}
With npm do:
npm install airtap-multi
MIT © 2020-present Airtap contributors
FAQs
Use multiple browser providers as one
The npm package airtap-multi receives a total of 2,436 weekly downloads. As such, airtap-multi popularity was classified as popular.
We found that airtap-multi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.