open-index/open-npm huggingface dataset:
npm package: @nareshorg/api-utils
Description: Lightweight utilities for Hapi route handling and request parsing
Author: Naresh
Latest version: 1.0.53
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @nareshorg/api-utils

> Lightweight utility package for building Hapi.js APIs faster and more consistently with TypeScript.

---

## ✨ Features

- 🧩 `routeBuilder` — Simplified, consistent Hapi route definition
- ⚙️ `controller` — Clean request handling with performance tracking and error wrapping
- 🔐 Auth helpers — Includes utilities for local and token-based auth
- 🪵 Logger — Bunyan-powered logger with consistent formatting
- 🛠️ Built-in request validation, error utilities, and constants

---

## 📦 Installation

```bash
npm install @nareshorg/api-utils