Closure Next is a modern and optimized version of the iconic Google Closure Library, reimagined for the latest JavaScript technologies. It’s designed to bring better performance, modularity, and seamless compatibility with modern frameworks and platforms like Node.js, React, Vue, Angular, WebAssembly, and more. Built with TypeScript, Closure Next takes advantage of the best coding patterns and performance optimizations for your applications.
-
TypeScript Support: Fully written in TypeScript for better maintainability, type safety, and editor support.
-
High Performance: Optimized for performance with smaller bundle sizes and faster load times.
-
Modern Integrations: Out-of-the-box support for frameworks and libraries.
├── React
├── Vue
├── Angular
├── Svelte
├── 📦 Modern build tooling support (Webpack, Vite, Rollup)
├── 🌐 Web Components support
├── 🖥️ Node.js compatibility (CommonJS/ESM)
├── 🦕 Deno support
├── 📱 Mobile/hybrid platform APIs
├── 🔧 SSR support (Next.js/Nuxt.js)
├── ⚙️ WebAssembly optimizations
└── 🧪 Comprehensive testing tools -
Modular Design: Includes a modular structure for easy customization and integration into any project.
-
Apache 2.0 License: Open source, and available for everyone to use and contribute.
To start using Closure Next in your project, simply install the core package via npm:
npm install @closure-next/core
After installing, you can start using the library's features in your code.
- Node.js >= 16
- TypeScript >= 5.0
- Your favorite package manager (npm/yarn/pnpm)
We’d love for you to contribute to Closure Next! Whether you’re fixing bugs, adding new features, or improving documentation, your contributions are always welcome. Follow the steps below to get started:
- Fork the repository.
- Create a new branch for your feature:
git checkout -b my-feature
- Make your changes.
- Test your changes locally.
- Submit a pull request.
To clone the repository:
git clone https://github.com/MilesONerd/closure-next.git
Closure Next is licensed under the Apache License 2.0, the same license as the original Google Closure Library.