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

owo-scan

v1.0.0

Published

Ultra-fast, zero-dependency network scanner and CLI tool by OwO. Ping, port scan, and resolve DNS.

Readme

🦉 owo-scan

An ultra-fast, zero-dependency, professional network scanning library and CLI tool built in modern Node.js.

Designed under the OwO brand, owo-scan helps network engineers, developers, and DevOps professionals scan hosts, run TCP port discoveries, perform forward/reverse DNS resolution, and verify latency directly from their applications or terminal.


✨ Features

  • 🚀 Zero Dependencies: Zero third-party baggage, keeping packages incredibly small (~15KB) and highly secure.
  • Ultra-Fast Parallel Port Scanner: Asynchronous port scanning throttling queue ensures top speed without hitting system resource limits.
  • 🌐 Comprehensive DNS Lookup: Handles A, AAAA, MX, NS, and TXT forward records, and resolves reverse IP PTR lookups instantly.
  • 🛡️ Dual-Mode Ping Check: Cross-platform system ICMP ping parser with an automatic, resilient TCP port handshake connection fallback when ICMP is firewalled or restricted.
  • 🎨 Stunning CLI Experience: Gorgeous color-highlighted console interface featuring Owl branding, loader spinner, and result summary tables.
  • ⚙️ Fully Scriptable: Support for --json flag prints clean, script-friendly JSON payloads directly to stdout.

💻 CLI Usage

You can execute the scanner instantly without installing it using npx:

npx owo-scan 1.1.1.1

Options

| Command-line Option | Short-hand | Description | Default | |---|---|---|---| | --ports <list> | -p | Comma-separated list of ports to scan | Curated common list (23 ports) | | --timeout <ms> | -t | Socket connection timeout in milliseconds | 1000ms | | --json | -j | Silent mode, outputs raw JSON results | false | | --help | -h | Display help guidelines and menus | false |

CLI Examples

Scan a domain targeting only web services:

npx owo-scan google.com --ports 80,443,8080

Run a super-fast scan with a short timeout:

npx owo-scan 192.168.1.1 --timeout 300

Generate a JSON payload for scripting or custom parsers:

npx owo-scan 127.0.0.1 --json > results.json

🛠️ Programmatic API Usage

Install owo-scan locally inside your Node.js project:

npm install owo-scan

Integration Example

import { scan } from 'owo-scan';

// Fast network assessment
const results = await scan('google.com', {
  ports: [80, 443, 22],
  timeout: 1000
});

console.log(`Status: ${results.status.toUpperCase()}`);
console.log(`Ping Latency: ${results.ping.latency} ms`);
console.log(`Open Ports:`, results.openPorts.map(p => p.port));

Complete JSON Schema Return Value

{
  "target": "google.com",
  "resolvedIp": "142.250.180.142",
  "isDomain": true,
  "timestamp": "2026-05-29T12:00:00.000Z",
  "scanDurationMs": 142.50,
  "status": "online",
  "ping": {
    "online": true,
    "latency": 8.5,
    "packetLoss": 0,
    "method": "icmp"
  },
  "dns": {
    "type": "domain",
    "domain": "google.com",
    "A": ["142.250.180.142"],
    "AAAA": ["2404:6800:4002:800::200e"],
    "MX": ["smtp.google.com (priority: 10)"],
    "NS": ["ns1.google.com"],
    "TXT": ["v=spf1 include:_spf.google.com ~all"]
  },
  "ports": [
    { "port": 22, "status": "closed", "service": "SSH" },
    { "port": 80, "status": "open", "service": "HTTP" },
    { "port": 443, "status": "open", "service": "HTTPS" }
  ],
  "openPorts": [
    { "port": 80, "status": "open", "service": "HTTP" },
    { "port": 443, "status": "open", "service": "HTTPS" }
  ]
}

🧪 Testing

To run the test suite:

npm test

Tests run completely without dependencies using the built-in node:assert test module.


🔒 Security

For reporting vulnerabilities, please consult SECURITY.md.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Developed with 💖 by OwO © 2026. All rights reserved.