Welcome to NHB Toolbox ๐ฆ
Benefits!
Replace Boilerplate(s) with One-Liner(s)
nhb-toolbox
provides battle-tested utilities for professional TypeScript/JavaScript development. Carefully crafted to solve common challenges with elegant, production-ready solutions:
- Helper Functions & Classes: Reusable solutions for everyday tasks
- Type Guards & Predicates: Runtime safety with perfect type inference
- Validation Utilities: Robust data validation patterns
- Zero Dependencies: Framework-agnostic implementation using only native TS/JS with 0 external package
๐งฐ Installationโ
๐ฆ Install as Main Dependencyโ
- ๐ฆ npm
- ๐งถ yarn
- ๐ pnpm
npm i nhb-toolbox
yarn add nhb-toolbox
pnpm add nhb-toolbox
๐ ๏ธ Install as Dev Dependencyโ
- ๐ฆ npm
- ๐งถ yarn
- ๐ pnpm
npm i -D nhb-toolbox
yarn add -D nhb-toolbox
pnpm add -D nhb-toolbox
๐ Install Globallyโ
- ๐ฆ npm
- ๐งถ yarn
- ๐ pnpm
npm i -g nhb-toolbox
yarn add -g nhb-toolbox
pnpm add -g nhb-toolbox
๐ Featuresโ
- Type-Safe Utilities: Fully typed for perfect TypeScript integration with strict type checking
- Modular Design: Tree-shaking friendly โ import only what you need with zero bloat
- Zero Dependencies: No external dependencies - works with any JS/TS framework
- IDE Support: Full type hints with JSDoc-powered API references in your editor
- Battle-Tested: Reliable utilities refined through real-world production use
- Optimized for Production: Focused on clean, efficient implementations