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.2.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.

StruLink is the official successor. It is a simplified, refocused version featuring:

  • Pure URL/URI and String encoding, decoding, and validation utilities.
  • A minimal footprint (only 1 runtime dependency).
  • Note: AI/ML features, Python microservices, and framework integrations have been removed.

Migration Plan: If your project relies on Express/React integrations or machine learning features, continue using nehonix/nehonixUriProcessor until December 2025. For pure utility usage, migrate to StruLink.


StruLink is a focused TypeScript library for URL/URI and string encoding, decoding, validation, and parsing. It is designed for developers who require high-performance URL manipulation utilities without the overhead of framework dependencies.

npm version License: MIT

Quick Start

Installation

Recommended for TypeScript projects:

xfpm install strulink

Alternative methods:

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 against customizable rules.
  • Auto-Detection & Decoding: Decode complex URI parameter encodings automatically.
  • Multiple Encodings Supported: Base64, percent encoding, hex, punycode, JWT, and more.
  • Security Analysis: Detect SQL injection, XSS, and path traversal patterns.
  • Internationalized URIs: Complete punycode support.
  • Lightweight Architecture: Single runtime dependency.
  • Zero Configuration: Ready for use without additional setup.

Supported Encoding Types

percentEncodingbase64hexunicodehtmlEntitypunycodeasciihexasciioctrot13base32urlSafeBase64jsEscapecssEscapeutf7quotedPrintablejwt • and more

Documentation

Complete Documentation - Main index for comprehensive API references and developer guides.

Guide References

Core API Reference

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

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

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

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

Contribution Guidelines

Contributions to the project are welcome. Please refer to our Contributing Guide prior to submitting pull requests.

License

MIT Copyright (c) Nehonix Team

Key Links