Skip to content

glandjs/gland

Repository files navigation

Gland Logo

NPM Version Package License NPM Downloads

Gland

A progressive, event-driven Node.js framework for building efficient and scalable server-side applications.

Description

What if every interaction was an event? Welcome to Gland.

Gland is a lightweight, extensible web framework built for modern JavaScript and TypeScript applications. With its unique event-driven architecture (EDS), it offers unparalleled flexibility in creating modular, scalable server-side applications.

Inspired by frameworks like Angular and NestJS, Gland integrates an object-oriented design pattern, minimalistic dependency injection (DI), and powerful event-driven communication, allowing developers to efficiently build and maintain complex applications.

Philosophy

Rather than relying on predefined conventions or imposing rigid structures, Gland offers an approach where the developer can focus on the core problem domain without being hindered by unnecessary constraints. By using an event-driven approach, Gland ensures that communication between components remains straightforward and flexible, while also maintaining the ability to easily extend the system as requirements evolve.

The simplicity of Gland lies not in the absence of features, but in how it allows developers to shape their applications with minimal friction and clear intentions. It strives to be a framework that adapts to the developer's needs, not the other way around. Through this approach, Gland provides the foundation for building applications that are both effective and maintainable, without forcing an unnatural design pattern upon the developer.

Why Gland?

Gland is designed with flexibility and scalability in mind. Whether you're building small APIs or large-scale applications, Gland provides the tools to help you structure your codebase efficiently and maintainably. Its event-driven approach helps in decoupling components and improving testability, while its object-oriented philosophy ensures clear and consistent code organization.

Documentation

For full documentation on how to use Gland, including guides, examples, and API references, check out the following resources:

Contributing

We welcome contributions to help improve Gland and shape it into a robust, production-ready framework. Here's how you can get involved:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Write tests to cover your changes.
  4. Submit a pull request with a detailed description of your changes.

Please review our CONTRIBUTING.md guidelines before starting.

Security

For details on our security practices and how to report vulnerabilities, please visit SECURITY.md.

License

Gland is licensed under the MIT License. See the LICENSE file for details.

Donation

Gland is an open-source project. If you find it useful and want to support its continued development, consider donating to help keep the project:

Bitcoin (on-chain)

bc1quhhrh3qd3wgfs8s5hh2hh6k0q6d5wygrqn0hxw

Bitcoin Lightning

[email protected]


Gland doesn’t tell you how to build. It asks: what if everything was just a message?