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

strulink

v1.1.0

Published

A focused TypeScript library for URL/URI and String encoding, decoding, validation, and analysis utilities.

Readme

StruLink

⚠️ DEPRECATION NOTICE

NehonixURIProcessor will be deprecated in December 2025.

This is the official successor - a simplified, refocused version with:

  • ✅ Pure URL/URI and String encoding, decoding, validation utilities
  • ✅ Zero framework dependencies (no Express/React)
  • ✅ Lightweight (only 1 dependency)
  • ❌ Removed: AI/ML features, Python microservices, framework integrations

Migration: If you need Express/React integrations or ML features, continue using nehonix/nehonixUriProcessor until December 2025. Otherwise, migrate to StruLink now.


A focused TypeScript library for URL/URI and String encoding, decoding, validation, and parsing. Designed for developers who need powerful URL manipulation utilities without framework dependencies.

npm version License: MIT

Version: 1.0.0
License: MIT
Repository: github.com/Nehonix-Team/StruLink

Quick Start

Installation

npm install strulink
# or
bun add strulink
# or
yarn add strulink

Basic Usage

import { StruLink as __strl__ } from "strulink";

// Validate and decode URL
const result = await __strl__.asyncCheckUrl("https://example.com?data=SGVsbG8=");
console.log(result.isValid); // true

// Auto-detect and decode
const decoded = __strl__.autoDetectAndDecode("https://example.com?data=SGVsbG8gV29ybGQ=");
console.log(decoded); // https://example.com?data=Hello World

// Detect malicious patterns
const analysis = __strl__.detectMaliciousPatterns("https://example.com?user=admin' OR '1'='1");
console.log(analysis.isMalicious); // true

Features

  • 🔍 URL Validation: Validate URIs with customizable rules
  • 🔓 Auto-Detection & Decoding: Decode complex URI encodings automatically
  • 🎨 Multiple Encodings: Base64, percent encoding, hex, punycode, JWT, and more
  • 🛡️ Security Analysis: Detect SQL injection, XSS, path traversal patterns
  • 🌐 Internationalized URIs: Full punycode support
  • ⚡ Lightweight: Only 1 runtime dependency
  • 📦 Zero Config: Works out of the box

Supported Encoding Types

percentEncodingbase64hexunicodehtmlEntitypunycodeasciihexasciioctrot13base32urlSafeBase64jsEscapecssEscapeutf7quotedPrintablejwt • and more

Documentation

📚 Full Documentation - Complete API reference and guides

Quick Links

Core API

// Validation
__strl__.checkUrl(url, options)
__strl__.asyncCheckUrl(url, options)
__strl__.isValidUri(url, options)

// Encoding/Decoding
__strl__.encode(input, encodingType)
__strl__.decode(input, encodingType)
__strl__.autoDetectAndDecode(input)
__strl__.detectEncoding(input)

// Security
__strl__.detectMaliciousPatterns(input, options)
__strl__.scanUrl(url)
__strl__.sanitizeInput(input)

// Analysis
__strl__.analyzeURL(url)
__strl__.needsDeepScan(input)

Why StruLink?

| Feature | StruLink | NehonixURIProcessor | |---------|----------|---------------------| | URL Encoding/Decoding | ✅ | ✅ | | Security Analysis | ✅ | ✅ | | Framework Integrations | ❌ | ✅ (Express/React) | | AI/ML Features | ❌ | ✅ | | Dependencies | 1 | 12+ | | Bundle Size | ~50KB | ~2MB+ | | Status | ✅ Active | ⚠️ Deprecated Dec 2025 |

Contributing

Contributions are welcome! Please read our Contributing Guide first.

License

MIT © Nehonix Team

Links


Made with ❤️ by Nehonix Team