npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vorlaxen-labs/huk

v1.0.2

Published

Smart helpers for modern TypeScript environments. Small footprint, massive utility.

Readme

⚓ HuK (Helper Utility Kit)

npm version License: MIT TypeScript

Smart helpers for modern TypeScript environments. Small footprint, massive utility.

HuK is a highly-optimized, zero-dependency utility suite designed to bridge the gap between "standard" logic and "smart" execution. It replaces your messy utils folder with a single, type-safe source of truth.


🔥 Why HuK?

Unlike monolithic utility libraries, HuK focuses on "Smart" logic:

  • 🚀 Zero-Dependency: No bloated node_modules. Pure, high-performance TypeScript.
  • 🌲 Tree-Shakable: Only ship the code you actually use.
  • 🛠️ BaR-Ready: Designed to work in perfect harmony with @vorlaxen-labs/bar-js.

📦 Installation

pnpm add @vorlaxen-labs/huk
# or
npm install @vorlaxen-labs/huk

🛠️ Smart Modules

HuK is organized into Namespaces. This structure ensures that as the library grows, your implementation remains clean and predictable.

📝 huk.string

Advanced string manipulation with deep localization and security support.

  • Transformation: Smart slugify with full Turkish character support (ı, ş, ğ, ç, ö, ü), truncate, and case mappers (Pascal/Camel).
  • Security: Cryptographically secure random strings, data masking (PII protection), and HTML escaping.
  • Validation: Strict email, strong password, and advanced empty state checks.

🚀 Quick Start

import { huk } from '@vorlaxen-labs/huk';

// 1. Zero-Fail Slugify (Handles Turkish chars perfectly)
const slug = huk.string.slugify("Hakan K. - Software Developer!"); 
// Output: "hakan-k-software-developer"

// 2. Secure PII Masking
const masked = huk.string.mask("4444555566667777", { visibleEnd: 4 });
// Output: "************7777"

// 3. Case Transformation
const camel = huk.string.toCamelCase("user_profile_data");
// Output: "userProfileData"

🧭 Modular Philosophy

To keep your bundles light, HuK supports sub-path imports. As the toolkit expands, you can import only what you need.

// Import everything
import { huk } from '@vorlaxen-labs/huk';

// Or just the string module
import { string } from '@vorlaxen-labs/huk/string';

📐 Design Principle

"Don't just write code that works. Write code that assists."

HuK is built on the principle that utilities shouldn't just be "shorthands"; they should be smarter than the code they replace. Every helper in this kit is typed to the teeth, ensuring that if it compiles, it works.


⚖️ License

Distributed under the MIT License. Created with ❤️ by @vorlaxen-labs.