
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
html-element-extended
Advanced tools
This goal of this project is to create a simple wrapper for web components that provides much of the useful functionality of lifecycle frameworks like react without the complication or overhead.
In particular there is no compile-time step for this library, each of the files can be loaded as a module.
To use this, (currently, until its on npmjs.com)
To a caller add to package.json/dependencies
"html-element-extended": "https://github.com/mitra42/html-element-extended",
Then in your webcomponents.js file for example include it with
import { EL, HTMLElementExtended, getUrl } from './node_modules/html-element-extended/htmlelementextended.js';
To add a new module,
Each module is documented internally but as a TL;DR
** htmlelementextended.js
Provides HTMLElementExtended which can be used instead of HTMLElement to create your own web components, but has the key functionality already there.
Note - all of these are under development. If you use them please introduce yourself in a git issue, and I'll bear this in mind when making any breaking revisions.
** eventbus.js A simple event handler to hide the mechanisms
const bus = new EventBus
FAQs
A simple wrapper for web components and some examples
The npm package html-element-extended receives a total of 2 weekly downloads. As such, html-element-extended popularity was classified as not popular.
We found that html-element-extended 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.