npm.io
1.0.86 • Published 2h agoCLI

zuby

Licence
MIT
Version
1.0.86
Deps
10
Size
356 kB
Vulns
16
Weekly
0

Zuby.js Logo Light

Zuby.js is a simple framework for building JS apps that combines the best of the SPA and MPA worlds. The framework is designed to be simple and easy to use, based on Vite and supports both Preact and React.

Installation

You can set up new Zuby.js app easily with Zuby CLI wizard. Just run the following command and follow the instructions:

npx zuby init

Features:

  • File-based routing (with similar syntax to Next.js)
  • Build-time HTML pre-rendering
    • Automatic for static paths
    • Manual for dynamic paths
  • Code splitting and lazy loading of pages
  • Client-side navigation
  • Component rehydration
  • Fast development server
  • Built-in i18n localization support
  • Preloading of pages and assets
  • Static and server outputs with support for SSG, SSR, ISG and ISR render modes

And many more! Explore the Zuby.js documentation to see all the features and how to use them. Please note that Zuby.js is still in early development, so some features may not work properly.

Integrations

Zuby.js integrates with JSX libraries through the JsxProvider interface. Following integrations are available:

Plugins

Zuby.js supports plugins to extend its functionality. You can find official plugins in the @zubyjs namespace on npm. See the complete ZubyPlugin API to learn how to create your own plugins.

Official plugins:

Acknowledgements

Zuby.js is inspired by Astro and Next.js to offer familiarity and a quick learning curve for developers but still do things differently. You should definitely explore these frameworks too, they are awesome! Maybe you'll find one of them more suitable for your needs.

  • Node.js: 18
  • npm: 9

License

Zuby.js is free software released under the MIT license.

Keywords