🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@nozbe/periscope-client

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nozbe/periscope-client

Handles the communication between two ends of the periscope

latest
npmnpm
Version
1.1.0
Version published
Maintainers
6
Created
Source

@nozbe/periscope-client

A public (not open-source though) protocol allowing for transferring files across windows and frames.

Terminology

  • inlet - the part that takes the file and sends it to the other end of the periscope where it should be displayed. Usually, this is going be your main content, eg. a React/Vue/Angular app etc., that needs to stay safe.

  • outlet - the part that receives the file from the inlet so it can be processed and displayed in isolation. Usually, this is going be an iframe rendered inside of your app.

  • peeking - the action of sending a file or some other content from the inlet to have it displayed in the outlet.

Known limitations

  • You can't have more than one periscope per inlet window at once.
  • Doesn't support light/dark mode features
  • ???

FAQs

Package last updated on 01 Dec 2023

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