Just DOM Documentation
Introduction
Just DOM is a lightweight JavaScript library that simplifies DOM manipulation, providing an intuitive and functional interface for building pure web applications.
Features
- Simplified DOM element creation
- Unified interface for attributes, styles, and events
- Support for all standard HTML tags
- Utility functions for CSS class manipulation, routing, and fetch API
- No external dependencies
- Small bundle size (< 20KB)
- Full TypeScript support
Installation
Usage
Import
Just DOM supports multiple import methods for maximum flexibility:
Creating DOM Elements
Utility Functions
Routing
TypeScript Support
Just DOM includes complete TypeScript type declarations. No additional packages are required.