tapable
Halia
tapable | Halia | |
---|---|---|
5 | 14 | |
3,691 | 48 | |
0.4% | - | |
0.0 | 0.0 | |
6 months ago | about 1 year ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tapable
-
Ask HN: Best JavaScript plugin system you have seen?
Plugin systems are hard to get right and hard to find the right balance.
I was recently poking through Webpack's [tapable](https://github.com/webpack/tapable) which allows pretty immense customization albeit it's a little complex.
What is the best you've come across?
-
Simple mistake to ruin Webpack bundle optimization
1) tapable package for event-driven architecture 2) terser for minification 3) acorn for AST processing 4) watchpack to watch file changes
-
An Intro To Webpack
If we take a look at the webpack repository on GitHub, we will find files containing the definitions of some of the key classes that handle the compilation process in webpack. Webpack makes use of its Tapable library to expose hooks for events during the bundle creation process. Many of the classes in webpack extend Tapable in order to provide hooks to plugins so that they, too, can access lifecycle events.
-
Pluggable Apps with Lenny the Duck π¦
These registration points are called Hooks.
-
Build "Pluggable" Apps with Stan the Duck π¦
Webpack: Tapable
Halia
- Dependency Injection for React Native similar to get_it in Flutter
- Plugins: The Secret App Development Paradigm
-
I wrote a small library to load modules (including React Native components) from a URL. We use this to build Plugins in native apps.
Hereβs the DI Framework: https://github.com/CodalReef/Halia
-
Build "Pluggable" Apps with Stan the Duck π¦
Halia - Extensible TS / JS Dependency Injection Framework
-
Build Apps as a Tree of Plugins
Halia is a generic, extensible dependency injection (DI) framework. However, we use it to generate apps at runtime using the Plugin Pattern.
- Builds Apps as a Tree of Plugins
-
Learn Dependency Injection with Doug the Goldfish π
Halia - Extensible TS / JS Dependency Injection Framework
- π Keep your code organized and extensible. Learn about "Dependency Injection" and the "Plugin Pattern" with Doug the fish.
- Show HN: Halia β Extensible TS / JavaScript Dependency Injection Framework
-
Introducing Halia - JS Plugin Manager
For more on how Halia compares to Package Managers (like npm) and Module Systems (like JS Modules), please see here: https://github.com/CodalReef/Halia#more-info
What are some alternatives?
terser - π JavaScript parser, mangler and compressor toolkit for ES6+
revo-grid - Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance π
watchpack - Wrapper library for directory and file watching.
tsParticles - tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.
Babel (Formerly 6to5) - π Babel is a compiler for writing next generation JavaScript.
pluggers - A convenient plugin manager library.
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. βοΈ [Moved to: https://github.com/FredKSchott/snowpack]
Elvan - TS / JS External Module Loader (Supports React Native!)
WordPress - WordPress, Git-ified. This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit pull requests to https://github.com/WordPress/wordpress-develop and patches to https://core.trac.wordpress.org/ instead.
Acorn - A small, fast, JavaScript-based JavaScript parser