nativeweb
nativeweb is a tiny JavaScript library, weighing approximately 1 kilobyte, designed to simplify the creation of Web Components. It leverages modern JavaScript decorators to provide a clean, readable syntax for defining custom elements, managing properties, handling events, and encapsulating styles and scripts. Key features include the @component decorator for registering custom elements with optional styles, @property for type-safe attribute conversion and default values supporting strings, booleans, numbers, arrays, and objects, and @event for attaching listeners to the component, child elements, or external components using a declarative syntax. The library also offers @customEvent for broadcasting namespaced events internationally and @query for simplified DOM element selection within the component shadow DOM. nativeweb enables developers to build encapsulated, reusable UI components with minimal boilerplate. It can be quickly initialized in new projects using the npm init nativeweb command or added to exi