
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@netflix/x-element
Advanced tools
x-element
_________
/ /__ __\ \
/ / \ \ / \ \
\ \ /_\_\ / /
\_\_____/_/
A dead simple starting point for custom elements. It provides the following functionality:
.property
to [attribute]
reflection (opt-in)[attribute]
to .property
synchronization (one-directional, on connected)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...
See SPEC.md for all the deets.
FAQs
A dead simple starting point for custom elements.
The npm package @netflix/x-element receives a total of 84 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.