Loading...
Loading...
Welcome to the complete documentation for `@phantasm0009/lazy-import` - the production-ready lazy loading solution with Static Bundle Helper (SBH) integration.
# π lazy-import Documentation Index Welcome to the complete documentation for `@phantasm0009/lazy-import` - the production-ready lazy loading solution with Static Bundle Helper (SBH) integration. ## π Quick Start 1. **[README.md](./README.md)** - Start here! Complete overview, installation, and basic usage 2. **[examples/basic-usage.js](./examples/basic-usage.js)** - 7 essential examples to get you started 3. **[examples/enhanced-usage.js](./examples/enhanced-usage.js)** - Production-ready patterns and architectures ## π Learning Resources ### **[TUTORIAL.md](./TUTORIAL.md)** - Complete Learning Guide Comprehensive tutorial covering: - Basic concepts and setup - Advanced patterns and techniques - Static Bundle Helper (SBH) configuration - Real-world applications - Performance optimization - Best practices ### **[FAQ.md](./FAQ.md)** - Frequently Asked Questions Common questions about: - General usage patterns - Static Bundle Helper features - Performance considerations - TypeScript integration - Bundler compatibility - Troubleshooting ## π§ Technical References ### **[API.md](./API.md)** - Complete API Reference Detailed documentation of: - Core API methods and options - TypeScript interfaces and types - Configuration options - Error handling - Static Bundle Helper plugins ### **[MIGRATION.md](./MIGRATION.md)** - Migration Guide Step-by-step migration from: - Dynamic imports - React.lazy() - Webpack lazy loading - loadable-components - Version upgrades ## π Project Information ### **[CHANGELOG.md](./CHANGELOG.md)** - Version History Complete development history: - Feature additions and improvements - Performance optimizations - Bug fixes and breaking changes - Test results and benchmarks ### **[LEARN.md](./LEARN.md)** - Development Guide Behind-the-scenes look at: - Architecture evolution - Static Bundle Helper development - Testing infrastructure - Performance optimization journey ## π» Development & Contributing ### **[DEVELOPMENT.md](./DEVELOPMENT.md)** - Complete development setup guide ### **[CONTRIBUTING.md](./CONTRIBUTING.md)** - Contribution guidelines and process ### **[SECURITY.md](./SECURITY.md)** - Security policy and vulnerability reporting ## π§ Practical Examples ### Framework-Specific Examples | Example | Description | Features | |---------|-------------|----------| | **[basic-usage.js](./examples/basic-usage.js)** | Essential patterns | Caching, preloading, error handling | | **[advanced-usage.js](./examples/advanced-usage.js)** | Intermediate patterns | Smart loading, monitoring, composition | | **[enhanced-usage.js](./examples/enhanced-usage.js)** | Production patterns | Analytics, plugins, batch processing | | **[cli-tool.js](./examples/cli-tool.js)** | CLI applications | Command handling, fallbacks | | **[nodejs-server.js](./examples/nodejs-server.js)** | Backend services | Express integration, middleware | | **[react-example.tsx](./examples/react-example.tsx)** | React applications | Component lazy loading, routing | ### Configuration Examples | Configuration | Description | Use Case | |---------------|-------------|----------| | **[webpack.config.js](./examples/bundler-configs/webpack.config.js)** | Webpack SBH setup | Production builds | | **[vite.config.ts](./examples/bundler-configs/vite.config.ts)** | Vite SBH setup | Modern development | | **[rollup.config.mjs](./examples/bundler-configs/rollup.config.mjs)** | Rollup SBH setup | Library bundling | | **[esbuild.config.mjs](./examples/bundler-configs/esbuild.config.mjs)** | ESBuild SBH setup | Fast builds | | **[babel.config.js](./examples/bundler-configs/babel.config.js)** | Babel SBH setup | Legacy support | ## πββοΈ Quick Navigation ### New to lazy-import? 1. Read [README.md](./README.md) for overview 2. Try [basic-usage.js](./examples/basic-usage.js) examples 3. Follow [TUTORIAL.md](./TUTORIAL.md) sections 1-3 ### Ready for production? 1. Study [enhanced-usage.js](./examples/enhanced-usage.js) patterns 2. Configure Static Bundle Helper from [API.md](./API.md) 3. Check [FAQ.md](./FAQ.md) for optimization tips ### Migrating from other solutions? 1. Check [MIGRATION.md](./MIGRATION.md) for your current setup 2. Follow the step-by-step migration guide 3. Use [FAQ.md](./FAQ.md) for troubleshooting ### Need specific integration help? 1. Check framework examples in [examples/](./examples/) 2. Review bundler configs in [examples/bundler-configs/](./examples/bundler-configs/) 3. Consult [API.md](./API.md) for detailed options ## π― Feature Highlights ### β **Production Ready** - **19/19** test cases passing - Memory-efficient caching system - Comprehensive error handling - TypeScript support ### β‘ **Static Bundle Helper (SBH)** - **4/4** bundlers supported (Webpack, Vite, Rollup, ESBuild) - Build-time optimizations - Better tree-shaking - Reduced runtime overhead ### π οΈ **Developer Experience** - Simple, intuitive API - Extensive documentation - Real-world examples - Migration guides ### π§ **Advanced Features** - Intelligent preloading - Cache management - Performance monitoring - Plugin architecture ## π« Success Stories > **"Reduced our bundle size by 35% and improved initial load time by 2.3 seconds"** > β React application with SBH optimization > **"Seamless migration from React.lazy() with better TypeScript support"** > β TypeScript project upgrade > **"Perfect for our CLI tool - modules load only when commands are used"** > β Node.js CLI application ## π€ Contributing We welcome contributions! Check out: - [Issues](https://github.com/Phantasm0009/lazy-import/issues) for bug reports - [Discussions](https://github.com/Phantasm0009/lazy-import/discussions) for questions - [Pull Requests](https://github.com/Phantasm0009/lazy-import/pulls) for contributions ## π License MIT License - see [LICENSE](./LICENSE) for details. --- **Built with β€οΈ by [Phantasm0009](https://github.com/Phantasm0009)** *Making lazy loading simple, powerful, and production-ready since 2024*
- Without a harness, you **can't compare** prompts, models, retrieval configs, or costs.
Evaluate, benchmark, and regression-test AI/LLM systems. Covers evaluation framework design, benchmark creation, human evaluation protocols, automated evaluation (LLM-as-judge), regression testing, statistical significance, and continuous evaluation pipelines.
<img width="1388" height="298" alt="full_diagram" src="https://github.com/user-attachments/assets/12a2371b-8be2-4219-9b48-90503eb43c69" />
A list of all public EEG-datasets. This list of EEG-resources is not exhaustive. If you find something new, or have explored any unfiltered link in depth, please update the repository.