Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geeekyboy/mango

🥭 An eco-friendly web framework that supports IE5+ and all modern browsers.
https://github.com/geeekyboy/mango

framework javascript jsx

Last synced: 2 months ago
JSON representation

🥭 An eco-friendly web framework that supports IE5+ and all modern browsers.

Awesome Lists containing this project

README

        

# [![Mango Framework](.github/assets/readme_banner.png)](https://mangojs.geeekyboy.com)

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/GeeekyBoy/mango/blob/main/LICENSE)
[![Runtime size](https://badgen.net/badgesize/gzip/https/cdn.jsdelivr.net/npm/@mango-js/runtime/dist/mango.min.js?label=runtime%20size)](https://cdn.jsdelivr.net/npm/@mango-js/runtime/dist/mango.min.js)
[![npm version](https://img.shields.io/npm/v/@mango-js/scripts.svg?style=flat)](https://www.npmjs.com/package/@mango-js/scripts)
[![npm downloads](https://img.shields.io/npm/dm/@mango-js/scripts.svg?style=flat)](https://www.npmjs.com/package/@mango-js/scripts)
[![GitHub stars](https://img.shields.io/github/stars/GeeekyBoy/mango.svg?style=social&label=Star)](https://github.com/GeeekyBoy/mango)

[Website](https://mangojs.geeekyboy.com) • [Docs](https://mangojs.geeekyboy.com/docs)

> The project is still in its early stages. Please report any bugs or issues you find.

## What is Mango?

Mango is a simple, easy to use and powerful framework that combines the best of React, Svelte and Solid in a single solution. And guess what? It's the only modern framework that works on IE5+. Want to be amazed more? It only adds 1.53kb to your code when gzipped.

## Why Mango?

- **🍀 Eco-Friendly** - Mango is the only reactive framework that works on IE5+ and decreases your carbon footprint by consuming the least amount of everything: memory, CPU, bandwidth, etc.
- **🍬 Syntactic Sugar** - States and props are treated like any other variables. Two-way binding is brought in from Svelte. HTML attributes and CSS properties are case insensitive. HTML attributes are stackable including events and classes.
- **🧭 Lightweight Router** - Mango has its own powerful router that is based on the native history API. Your application can be Multi-Page or Single-Page or even a combination of both. Slugs, query parameters and hash are all supported out of the box.
- **⚙️ Compile-Time Data** - Feel free to import variables exported from NodeJS modules and whose values are evaluated at compile-time. This allows you to include data from external sources like JSON files and databases in your static pages.
- **🏭 Dynamic Pages** - Like PHP, you can generate dynamic pages with data precomputed on the server and send them to the client. This allows you to avoid exposing your business logic to the client. In addition, it gives you the freedom of sending custom headers and status codes.
- **📡 API Endpoints** - Mango allows you to create API endpoints that can be used by your client-side application or any other application without the need for a dedicated server.

- And [much more](https://mangojs.geeekyboy.com)!

## Getting Started

Please follow the documentation at [mangojs.geeekyboy.com](https://mangojs.geeekyboy.com)!

## Contributing

Read our [contributing guide](CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Mango.

## License

Mango is licensed under the [MIT License](LICENSE).

![View count](https://hits-app.vercel.app/hits?url=https://github.com/GeeekyBoy/mango&bgRight=000&bgLeft=000)