npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hplus

v1.0.3

Published

--hplus js is a lightweight, simple, and easy-to-use next-generation front-end framework. Its purpose is to enhance the interactivity between HTML itself and data,thoroughly realizing the coding analysis of JavaScript and HTML, while still being able to a

Downloads

4

Readme

--hplus js is a lightweight, simple, and easy-to-use next-generation front-end framework. Its purpose is to enhance the interactivity between HTML itself and data,thoroughly realizing the coding analysis of JavaScript and HTML, while still being able to achieve data display and collection

html natural defect

Since the invention of HTML, it has always been used for hypertext presentation, suffering from a lack of scalability and interactivity. Although W3C has been constantly improving HTML, this defect has never been completely resolved.

e.g. We want to assign a data attribute to the select element, and when we assign values such as "english", "spanish", "french", "german" to the data attribute, it can automatically generate four elements like English

    <select id="languages" name="languages" data>  
        <option value="english">English</option>  
        <option value="spanish">Spanish</option>  
        <option value="french">French</option>  
        <option value="german">German</option>  
    </select>  

The two core issues addressed by modern JavaScript frameworks are:

How to render data-related HTML to the user interface (UI)?

How to get user input data form UI to model?


Angular React Vue defect

The dominance of JavaScript in controlling everything has led to the increasing complexity of frameworks, yet they are often perceived as being limited to single-page applications only.

The practice of mixing JavaScript and HTML together is not conducive to the separation of the UI layer and logic, and it is even less conducive to the development of HTML


Nowadays, we strongly recommend that W3C improve HTML, but before W3C makes any changes, we propose a solution

e.g ol has a custom attribute h-data="menu",h-data is a marker that indicates the child elements of this element need to be rendered based on data

     <div>
        <ol h-data="menu">
            <li template class="template"><a href="{{b}}" text="{{a}}"></a></li>
        </ol>
    </div>

The 'template' tag serves as a template for rendering HTML, while {{b}} and {{a}} are placeholders that need to be replaced based on data. This allows us to achieve client-side rendering based on data.

Certainly, we will subsequently provide a solution for how to collect data from users.


Completing this framework is a challenging, exciting, and monumental undertaking.

If you are interested, please join our development team([email protected]).

If you appreciate the value of our work, you can make a direct donation to our Alipay account([email protected]).