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

localhost_windows_386

v0.0.4

Published

![GitHub Release](https://img.shields.io/github/v/release/sprisa/localhost?color=blue) ![GitHub License](https://img.shields.io/github/license/sprisa/localhost?color=green) ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fsvc.host%2Fba

Downloads

11

Readme

localhost

GitHub Release GitHub License Endpoint Badge

Terminal Example

Local development certs for LAN https services.

Localhost exposes local insecure http services as fully encrypted https available at svc.host

Install

Homebrew (auto updates)

brew install sprisa/tap/localhost   

NPM
NPM Version NPM Downloads

npx @sprisa/localhost 3000 -a

Golang Source
With Go (Any platform — doesn't auto update)

go install github.com/sprisa/localhost@latest

Usage

Serve the service at port 3000

localhost 3000

Navigate to the https service at https://local.svc.host:5050

Serve on all interfaces

localhost 3000 -a

Change the proxy port. Defaults to port 5050

localhost 3000 -p 3001

https://local.svc.host:3001

Show Help

localhost --help

Why?

1. Many Javascript APIs are only available in secure contexts (aka https). This makes local development harder than it should be.

  • For example the Crypto API. This list of restricted APIs is only growing.
  • Some browser contexts, like iOS Webviews, refuse to load insecure webpages.

2. Easier mobile development (React Native)

  • iOS will not make api requests to insecure APIs (http) when the development app is running on a remote device.

3. Remote development debugging

  • Localhost makes it easy to share your service on your Mesh Network IP.
  • Remote development without needing to be on the same LAN network when using a mesh network like Priv Network or Tailscale

Whats is svc.host?

svc.host is a DNS server which replies with your local WAN IP. It allows the https (tls) certificates to be trusted by your browser.

Hostnames are in the form [ip-address].svc.host, with the IP's dot seperator (.) being replaced with a dash (-) instead.

dig 192-168-1-180.svc.host => 192.168.1.180
dig 10-10-10-10.svc.host => 10.10.10.10
dig local.svc.host => 127.0.0.1

Only private IP ranges are supported.

Inspiration

  • localtls - https://github.com/Corollarium/localtls
  • sslip.io - https://sslip.io/

Public Internet Tunnels

localhost is not a tunnel for the public internet. It connects any devices that are already on the same subnet, such as LAN or a mesh VPN. If you need an internet tunnel check out anderspitman/awesome-tunneling.