
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
webswing-api
Advanced tools
NPM module for easier integration of Webswing to javascript/typescript projects
It allows easier integration of Webswing into the existing web project. Module saves time for developers and it has typescript declarations.
Requirements: This module works with Webswing 22.2 and newer. Please use the latest respective major version of this module matching your Webswing server installation.
For further details please see: https://www.webswing.org/docs/latest/integrate/javascript-api
npm install webswing-api
import { getWebswingApi } from 'webswing-api'
getWebswingApi("http://localhost:8080/webswing-demo").then((api) => {
const instance = api.bootstrap(document.getElementById('#rootElement'))
instance.start()
})
ThegetWebswingApi
is an async functions that is responsible for loading the actual Webswing JS client from the Webswing server identified by the connectionUrl parameter. When the JS client is loaded API object is returned, which can be used to bootstrap the Webswing view to a DOM element passed in the first argument.
FAQs
Library for easy integration of Webswing to js apps.
The npm package webswing-api receives a total of 155 weekly downloads. As such, webswing-api popularity was classified as not popular.
We found that webswing-api demonstrated a healthy version release cadence and project activity because the last version was released less than 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 browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.