
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@netflix/x-element
Advanced tools
x-element
_________
/ /__ __\ \
/ / \ \ / \ \
\ \ /_\_\ / /
\_\_____/_/
A dead simple basis for custom elements. It provides the following functionality:
.property
to [attribute]
reflection (opt-in)[attribute]
to .property
synchronization (one-directional, on connected)See SPEC.md for all the deets.
Save a local copy to your project:
curl https://raw.githubusercontent.com/Netflix/x-element/main/x-element.js > x-element.js
curl https://raw.githubusercontent.com/Netflix/x-element/main/x-parser.js > x-parser.js
curl https://raw.githubusercontent.com/Netflix/x-element/main/x-template.js > x-template.js
Then import it:
import XElement from '/path/to/x-element.js';
...or load it directly from the web:
import XElement from 'https://deno.land/x/element/x-element.js';
...or use an importmap:
<script type="importmap">
{
"imports": {
"@netflix/x-element": "https://deno.land/x/element/x-element.js"
}
}
</script>
Then import it using a bare module specifier...
import XElement from '@netflix/x-element';
...or use a package manager:
npm install @netflix/x-element
Then import it using a bare module specifier...
import XElement from '@netflix/x-element';
x-element.js
npm install && npm start
Then...
FAQs
A dead simple basis for custom elements.
The npm package @netflix/x-element receives a total of 36 weekly downloads. As such, @netflix/x-element popularity was classified as not popular.
We found that @netflix/x-element demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.