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

middot

v1.3.0

Published

Sophisticated TypeScript middot · (U+00B7) utility

Readme

🅼🅸🅳🅳🅾🆃: 🅰 🆃🆁🅴🅰🆃🅸🆂🅴 🅾🅽 🆄🅽🅸🅲🅾🅳🅴 🆂🅴🅿🅰🆁🅰🆃🅸🅾🅽

[!IMPORTANT] In an era where human cognitive load is depleted by the arduous task of locating the · (U+00B7) or • (U+2022) keys, this library provides an abstracted, enterprise-grade interface for character retrieval. It is a monument to the philosophy that if a thing is worth doing, it is worth wrapping in a Type Guard and publishing to a registry.


0x01 ABSTRACT

middot is a zero-dependency, high-throughput utility designed for the rigorous demands of modern typographic separation. While the uninitiated may perceive these characters as mere pixels, the discerning engineer recognizes them as C where C ∈ { U+00B7, U+2022 }. This library ensures that C is accessed via a stable, referentially transparent API, optimized for the JavaScriptCore (JSC) JIT compiler.


0x02 TESTIMONIALS OF VERIFICATION

I eschew "Usage" documentation in favor of EMPIRICAL EVIDENCE. The following test cases represent the core invariant logic of the library.

IDENTITY AND CODEPOINT ASSERTION

I verify that the returned string literal maps precisely to the IEEE-754 adjacent memory space allocated for Unicode scalars.

test('identity', () => {
  expect(middot()).toBe('\u00B7');           // Interpunct
  expect(middot('bullet')).toBe('\u2022');   // List Bullet
  expect(middot().charCodeAt(0)).toBe(183);  // 0x00B7
});

TYPE-LEVEL SOPHISTICATION

The library utilizes TypeScript's narrowing capabilities to provide compile-time safety for character validation.

test('narrowing', () => {
  const char: unknown = '•';
  if (isMiddot(char)) {
    // Within this scope, char is strictly type Middot
    const verified: Middot = char; 
    expect(verified).toBeDefined();
  }
});

0x03 PERFORMANCE AND OPERATIONAL THROUGHPUT

Benchmark results obtained via 'bun bench' on a Unix-like environment.

| OPERATION | THROUGHPUT | LATENCY (P99) | | --- | --- | --- | | middot() | ~142.5M ops/s | 0.007 ns | | isMiddot(dot) | ~98.2M ops/s | 0.012 ns | | isMiddot(fail) | ~105.1M ops/s | 0.010 ns |


0x04 DEPLOYMENT AND SEMANTIC GOVERNANCE

The lifecycle of this library is governed by a GitHub Actions CI/CD pipeline, enforcing CRYPTOGRAPHIC PROVENANCE.

# The path to enlightenment
$ bun run typecheck   # Static Analysis
$ bun test            # Logic Verification
$ bun run build       # Transpilation to ESM/CJS

0x05 POSTSCRIPT: THE EXISTENTIAL JOKE

Since developers notoriously love over-engineering the most trivial abstractions—turning simple key-presses into 400-kb dependencies—I created this library as a satirical tribute to that obsession.

If you appreciate the absurdity of enterprise-grade interpuncts, please share the joke with your fellow engineers.

01001010 01001111 01001011 01000101 00100000 01000100 01000101 01010000 01001100 01001111 01011001 01000101 01000100


0x06 ABOUT THE ARCHITECT

01101101 01101001 01100100 01100100 01101111 01110100