
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@remixproject/plugin-iframe
Advanced tools
**Except if you want your plugin to ONLY work on the web, prefer [@remixproject/plugin-webview](../webview)**
Except if you want your plugin to ONLY work on the web, prefer @remixproject/plugin-webview
This library provides connectors to connect a plugin to an engine running in a web environment.
npm install @remixproject/plugin-iframe
If you do not expose any API you can create an instance like this :
import { createClient } from '@remixproject/plugin-iframe'
const client = createClient()
client.onload(async () => {
const data = client.call('filemanager', 'readFile', 'ballot.sol')
})
If you need to expose an API to other plugin you need to extends the class:
import { createClient } from '@remixproject/plugin-iframe'
import { PluginClient } from '@rexmixproject/plugin'
class MyPlugin extends PluginClient {
methods = ['hello']
hello() {
console.log('Hello World')
}
}
const client = createClient()
client.onload(async () => {
const data = client.call('filemanager', 'readFile', 'ballot.sol')
})
FAQs
**Except if you want your plugin to ONLY work on the web, prefer [@remixproject/plugin-webview](../webview)**
The npm package @remixproject/plugin-iframe receives a total of 2,631 weekly downloads. As such, @remixproject/plugin-iframe popularity was classified as popular.
We found that @remixproject/plugin-iframe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.