
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@pie-api/pie-inline-player
Advanced tools
A standalone web component to render a PIE item in a single request.
A standalone web component that renders a PIE item from a single, packaged request (item data plus required JavaScript bundles). This is not the primary/recommended integration path, but it can be a pragmatic fallback to reduce round trips—for example on high‑latency or unstable networks, behind strict proxies, or in kiosk-like environments. Trade‑offs include a larger payload, coarser caching, and higher retry cost if the transfer fails.
You can use the component in two ways: via npm install, or directly from a CDN.
npm install @pie-api/pie-inline-player
Then import it once to register the custom element and use the tag:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PIE Inline Player</title>
<script type="module">
import '@pie-api/pie-inline-player';
</script>
</head>
<body>
<pie-inline-player
item-id="your-item-id-here"
api-base-url="https://your-pieoneer-instance.com"
token="your-client-jwt-here"
></pie-inline-player>
</body>
</html>
You can include the module directly from a CDN such as jsDelivr:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PIE Inline Player</title>
<script type="module" src="https://cdn.jsdelivr.net/npm/@pie-api/pie-inline-player@latest/pie-inline-player.mjs"></script>
</head>
<body>
<pie-inline-player
item-id="your-item-id-here"
api-base-url="https://your-pieoneer-instance.com"
token="your-client-jwt-here"
></pie-inline-player>
</body>
</html>
item-id
(required): The ID of the PIE item to load.api-base-url
(required): The base URL of the Pieoneer instance hosting the packaged item API endpoint.token
(required): A valid JWT for authenticating with the API endpoint.FAQs
A standalone web component to render a PIE item in a single request.
We found that @pie-api/pie-inline-player demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.