A collection of lightweight, modular JavaScript utilities designed for modern web development. Built with TypeScript, tree-shakable, and framework-agnostic.
Petit Kit follows the Unix philosophy: "Do one thing and do it well". Each package is focused, lightweight, and can be used independently or together to build powerful web applications.
@petit-kit/scope π
Web Components framework with props, lifecycle hooks, and plugins
@petit-kit/template π¨
Lightweight virtual DOM and templating system
@petit-kit/magasin πͺ
Lightweight state management with reactive subscriptions
@petit-kit/scroll π
Smooth scrolling with plugins for advanced scroll effects
@petit-kit/utils π§
Essential utility functions for common web development tasks
Each package is designed to be:
- Modular: Use only what you need
- Tree-shakable: Unused code is eliminated during bundling
- TypeScript-first: Full type safety and IntelliSense
- Framework-agnostic: Works with any framework or vanilla JS
- Lightweight: Minimal bundle size impact
- Performant: Optimized for modern browsers
We welcome contributions! Feel free to clone and do PRs.
MIT License
@petitssoldats - [email protected] - nicolasforestier.dev
If you find this project helpful, please consider:
- β Starring the repository
- π Reporting bugs
- π‘ Suggesting new features
- π€ Contributing code
Petit Kit - Small tools, big possibilities! π