Skip to content

MilesONerd/closure-next

Closure Next

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.

Social

Bluesky GitHub Mastodon Telegram X/Twitter

Product Hunt

Closure Next - Closure library rewritten in TypeScript | Product Hunt

Key Features:

  • 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.

Documentation

Closure Next Documentation

Installation

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.

Development

Prerequisites

  • Node.js >= 16
  • TypeScript >= 5.0
  • Your favorite package manager (npm/yarn/pnpm)

Contributing

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:

  1. Fork the repository.
  2. Create a new branch for your feature:
    git checkout -b my-feature
  3. Make your changes.
  4. Test your changes locally.
  5. Submit a pull request.

To clone the repository:

git clone https://github.com/MilesONerd/closure-next.git

Licence

Closure Next is licensed under the Apache License 2.0, the same license as the original Google Closure Library.