qmetrics.net

Hashids

JavaScript encoder for short obfuscated numeric IDs

Libraries & SDKsDesktop/CLI app
Hashids screenshot

Hashids.js turns numbers into short, URL-friendly strings so database IDs are not exposed directly, with salts, padding, and custom alphabets.

Overview

Hashids.js is a small JavaScript library that generates YouTube-style identifiers from one or more non-negative numbers. The goal is visual obfuscation of primary keys and similar counters, not encryption or secrecy.

Install via npm for Node, import in ESM or CommonJS setups, or load a browser build as a global where ES modules are available. TypeScript projects can import the package or the dedicated CommonJS entry; BigInt encoding is supported when the runtime provides BigInt.

Encoding accepts integers, arrays of numbers, hex strings, or BigInt values. Optional salt and minimum length settings make IDs unique to a project or longer than the default short form. You can replace the default alphanumeric alphabet, including emoji alphabets since v2.0. Decoding always returns an array of numbers; negative inputs are not supported.

The algorithm avoids common English profanity pairings by default and can skip predictable patterns in sequential IDs. Documentation stresses that bogus encode input yields empty strings and that the library must not be used to protect sensitive data.

Key features

  • Encode numbers to short strings
  • Decode back to number arrays
  • Salt and minimum-length padding
  • Custom and emoji alphabets
  • Hex string encoding mode
  • BigInt support when available
  • ESM, CommonJS, and browser builds
  • Profanity-avoiding default alphabet rules

Use cases

  • Hide sequential database IDs in URLs
  • Encode multiple integers in one token
  • Obfuscate counters in public links
  • Encode hex values like ObjectId strings
  • Generate non-repeating-looking public IDs

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
AI Assisted CodingDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Libraries & SDKsDesktop/CLI app

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

★ 198.7k⟳ 21 days agoMIT
Libraries & SDKsDesktop/CLI app

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app