
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
presentation-capacitor
Advanced tools
This Capacitor plugin provides seamless integration with the Presentation API, enabling developers to display content on secondary screens, such as projectors or external displays, directly from their mobile and web applications.
| Capacitor Version | Presentation Version |
|---|---|
| Capacitor v4 | 0.0.5 |
| Capacitor v6 | 0.1.x |
npm install presentation-capacitor
npx cap sync
https://github.com/user-attachments/assets/a2dbb1f7-6075-4285-885d-39136bc90d9b
open(...)sendMessage(...)terminate()addListener('onSuccessLoadUrl', ...)addListener('onFailLoadUrl', ...)addListener('onMessage', ...)getDisplays()open(options: OpenOptions) => Promise<OpenResponse>
| Param | Type |
|---|---|
options | OpenOptions |
Returns: Promise<OpenResponse>
sendMessage<T>(message: T) => Promise<T>
| Param | Type |
|---|---|
message | T |
Returns: Promise<T>
terminate() => Promise<void>
addListener(eventName: 'onSuccessLoadUrl', listenerFunc: (data: any) => void) => any
| Param | Type | Description |
|---|---|---|
eventName | 'onSuccessLoadUrl' | |
listenerFunc | (data: any) => void | <br> Works only if type html of url or if browser |
Returns: any
addListener(eventName: 'onFailLoadUrl', listenerFunc: (data: any) => void) => any
| Param | Type |
|---|---|
eventName | 'onFailLoadUrl' |
listenerFunc | (data: any) => void |
Returns: any
addListener(eventName: 'onMessage', listenerFunc: (data: any) => void) => any
| Param | Type |
|---|---|
eventName | 'onMessage' |
listenerFunc | (data: any) => void |
Returns: any
getDisplays() => Promise<{ displays: number; }>
Returns: Promise<{ displays: number; }>
{ success?: any; error?: any; result?: any }
{} & ( | { type: 'url'; url: string; } | { type: 'video'; videoOptions: { videoUrl: string; showControls?: boolean; }; } | { type: 'html'; html: string; } )
FAQs
Capacitor Plugin for presentation api
We found that presentation-capacitor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.