tezor
v1.2.1
Published
A lightweight utility library by Bharat for reusable JavaScript and TypeScript functions.
Maintainers
Readme
✨ Why Tezor?
Stop rewriting the same logic again and again.
Tezor helps you:
- Build faster ⚡
- Write cleaner code 🧼
- Reuse logic across projects 🔁
🧩 Works With
Tezor is designed to work seamlessly with:
- ✅ JavaScript
- ✅ TypeScript
- ✅ React (18+)
- ✅ Vite / Next.js / CRA
💡 You can use Tezor in both JavaScript and TypeScript projects — types are included but not required.
🔥 Features
🧠 Smart Hooks
useZodValidationuseSmartNavigation
🎨 UI Components
DoubleSidebar(Microsoft-style layout)
🔐 Validation
- Built-in support for Zod
🧭 Routing
- Works with React Router
🎯 UI Compatibility
- Works with Material UI
- Works with Tailwind CSS
- Supports
classNamefor custom styling
📦 Installation
npm install tezor🚀 Usage
useZodValidation
import { useZodValidation } from "tezor";
const { errors, validate } = useZodValidation(schema);useSmartNavigation
import { useSmartNavigation } from "tezor";
const { navigateTo } = useSmartNavigation();DoubleSidebar
import { DoubleSidebar } from "tezor";
<DoubleSidebar>{/* content */}</DoubleSidebar>;🧠 Philosophy
Write once. Reuse everywhere.
🎯 Goal
Tezor aims to become a developer-first utility + UI library
that removes repetitive work and speeds up React development.
👨💻 Author
Bharat 🇮🇳
📄 License
MIT
