Modern JavaScript
Framework.
Write Less JavaScript, Achieve More with Data Attributes. Now.js is a complete JavaScript framework with components, state management, routing and authentication built in.
document.addEventListener('DOMContentLoaded', async () => {
// Initialize Now.js Framework
await Now.init({
// Load application components
resources: {
components: [
'header.js'
]
}
});
// Create application instance
const app = await Now.createApp({
name: 'Now.js',
version: '1.0.0'
});
});
Control Everything Through
Data Attributes
Common tasks need little or no JavaScript. Components start automatically when the page loads — for example, a form submits via AJAX just by adding Data Attributes to it.
Component System
Attach components with a Data Attribute, with reactive state, a template engine and lifecycle hooks (created, mounted, updated, destroyed)
Common Tasks Without JavaScript
Forms, tables, modals and tabs work from Data Attributes alone — write JavaScript only for your own logic
Advanced Router
History and Hash modes, nested and dynamic routes (/user/:id), route guards, and templates loaded on demand
Authentication
JWT or session-based login, automatic token refresh, role-based access, and guards for protected routes
Form Management
Automatic form handling with Data Attributes, including Validation, AJAX Submission, Error Handling, and Loading States
Rich UI Components
Data tables, calendars, modals, autocomplete, file upload, charts and more, ready to use
Write Less Code, Boost Efficiency
Now.js helps you build web applications faster with less JavaScript. Include one CSS and one JS file and start — no compile step
Key Features
- 80+ built-in managers, components and form elements
- Template Engine with Reactive Binding
- Security Manager (CSRF, XSS Protection)
- Storage Manager (IndexedDB, LocalStorage)
- Service Worker & Offline Support (optional module)
- Multi-language (i18n) and Light/Dark themes
Ready to Build Amazing Web Apps?
Start using Now.js today: write less code and get more done with a complete framework that is easy to use. No build, no compile.