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

dinodns

v0.0.15

Published

A pure Typescript, low-configuration full DNS server

Readme

DinoDNS 🦕

A pure TypeScript, modular DNS server inspired by Express, Nest.js, and CoreDNS.

⚠️ WARNING: this framework is under active development and is in its very early days. There may be changes to the core APIs and right now no guarantees are made about its stability.

Building Formatted Linted Tests Typecheck

Installation

npm i --save dinodns

Purpose

DinoDNS is an event-based, pure-TypeScript DNS server framework.

Unlike most other DNS servers, it is not a standalone application — instead, it is meant to provide a convenient, familiar API to lower the bar for authoring efficient, scalable, bespoke DNS servers.

If you're comfortable with the Express API, you should feel right at home with DinoDNS.

Docs

Docs are available at dinodns.dev. API documentation is also separately available.

Usage

DinoDNS embraces the Express-style method of defining handlers for your application. You simply create a server, define your middleware and handlers, and the rest is handled by the router.

Middleware are registered using a familiar syntax:

server.use((req, res, next) => {...});

And handlers are registered similarly, the server's handle method. For handlers, you must also pass in the domain string you wish to match against. Wildcards are supported, and match in accordance with RFC 1034.

server.handle('example.com', (req, res) => {...})

A complete, working "hello world" application is defined below:

import { DefaultServer, DNSOverTCP, DNSOverUDP } from 'dinodns/common';

const server = new DefaultServer({
  networks: [new DNSOverTCP({ address: '0.0.0.0', port: 1053 }), new DNSOverUDP({ address: '0.0.0.0', port: 1053 })],
});

server.handle('example.com', (req, res) => {
  const { type } = req.packet.questions[0];
  switch (type) {
    case 'TXT':
      return res.answer({
        name: 'example.com',
        type: 'TXT',
        class: 'IN',
        ttl: 300,
        data: 'Hello, World!',
      });
    default:
      return res.errors.notImplemented();
  }
});

server.start(() => {
  console.log('Server started');
});

Features

  • [x] DNS over UDP, TCP, TLS, HTTP, HTTPS
  • [x] Built-in, basic plugins for zone data storage, caching, and logging
  • [x] Dynamic, user-defined, Express-like middleware and request handlers
  • [x] Seamless multithreading support (see docs)
  • [x] Load tested in synthetic benchmarks
  • [x] Limited external plugin selection (more planned), such as the Redis store

Currently unsupported features

  • EDNS
  • TCP packet fragmentation