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

gfb

v1.0.12

Published

GFB is not a data-driven framework. It is a library, that encapsulates data-driven functions. However, it implements functions similar to the framework. You can introduce it into any project and use it in a native JS way.

Downloads

14

Readme

website:https://www.gfb-js.com

Why did create it(Please read this paragraph)

I must explain why I created such a nondescript data-driven library. In the current front-end ecosystem, the old data-driven UI frameworks include React, VUE, and Angular. They are ecologically sound and powerful, and can't be replaced by a new data-driven library. The emerging data-driven framework has a rising star like Svete. Normally, there is no need to develop a new data-driven UI framework, let alone a defective UI library.

However, my company has encountered such a problem. Due to business needs and technical specifications of external channel platforms, our company needs to publish a project to different technical architectures. Some are native JS environments, or React, or VUE, and some are incompatible versions of technical architectures. This leads me to write different code for a project using different technical architectures, but these codes do the same thing. This is not the most troubling thing for me. What's more troubling is that when a requirement iteration changes, we usually need to change all the codes of different architectures. Sometimes only a small copy change needs to modify multiple versions of the code, and then package and upload them separately.

In this case, I developed a set of data-driven UI libraries that run in different technical frameworks and can not affect the host environment, and it needs to be able to communicate with the host environment conveniently. So GFB-js was born, and it can embed itself into React, VUE or native environment, and communicate with the host environment through Service. In this way, I can make a development through GFB and use it everywhere. And I can use Service to build another set of communication system without affecting the host environment without considering the host's communication mechanism.

Special note:

GFB is not a data-driven framework. It is a library that encapsulates data-driven functions. However, it implements functions similar to the framework. You can introduce it into any project and use it in a native JS way.

It is not invasive and will not affect the host, but it should be noted that it is based on the class feature of ES6. If you need to be compatible with low version browsers, it is not suitable for you.

You can use it to create a single page application, But be careful not to update the root component frequently. This is because during the data update process, GFB will re render itself and all sub components under it that should be mounted. When the project volume is too large, frequent updating of the root component will affect the operation efficiency.But the good news is that each update of a component will only render DOM once, no matter how many sub components it has attached.

document

About how documents are used

Step 1: clone the code base locally

Step 2: Run the index.html file in the project in the browser environment to view the document

Why use it

If you don't want to use a huge framework and want to experience the convenience of data-driven, it will be a good choice for you.

Its size is only a few K, and it realizes a simple and practical data-driven function.

It can be guaranteed at any time that the update logic will be executed only when you explicitly need to update it

It has only a few easy-to-use and easy to understand APIs, without complex API design, so developers do not need to spend effort to understand its underlying can be easily used.

It uses native JavaScript as the development language, and there is no virtual DOM, which allows developers to quickly become familiar with it.

Because all its features only depend on the special implementation of its code itself, it can be easily embedded in any known front-end UI framework, provided that you are familiar with that framework.

For example, you can use it to develop your own UI components, and then embed them into react, Vue, angular and other frameworks at the same time.

At present, it is still young and needs to grow. Hope to get more help.

Want to help it

Email: [email protected]

If you find some defects in it, you can email it and it will reply you in the first time.