
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
elm-oembed
A Web Component and accompanying Elm package for rendering oembed content.
Width and height are sized dynamically based on the loaded content. Script tags are
safely loaded within an iframe
.
oembed
is a protocol, with many providers implementing it.
It allows you to turn a URL into embeddable content.
These examples will render a YouTube player, an embedded Tweet, a Giphy .gif
of the desired dimensions,
and an Elm code snippet in Ellie. Check out the examples
folder to see it in action!
div []
[ Oembed.viewOrDiscover Nothing "https://www.youtube.com/watch?v=43eM4kNbb6c"
, Oembed.viewOrDiscover Nothing "https://twitter.com/dillontkearns/status/1105250778233491456"
, Oembed.viewOrDiscover (Just { maxWidth = 250, maxHeight = 1000 }) "https://giphy.com/gifs/art-weird-ewan-26hiu3mZVquuykwhy"
, Oembed.viewOrDiscover Nothing "https://ellie-app.com/4Xt4jdgtnZ2a1"
]
Just load the Web Component like so:
npm install --save-dev elm-oembed
import "elm-oembed";
FAQs
A Custom Element and accompanying Elm package for displaying oembed content.
We found that elm-oembed demonstrated a not healthy version release cadence and project activity because the last version was released 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.
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.