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

@axlotl-lab/navigrator

v1.5.0

Published

A powerful local domain manager for development environments. Navigrator helps you manage local domains and SSL certificates with a simple web interface.

Readme

@axlotl-lab/navigrator

A powerful local domain manager for development environments. Navigrator helps you manage local domains and SSL certificates with a simple web interface.

npm version

Features

  • Easily manage local domains (*.local, etc.)
  • Create and manage SSL certificates for local development
  • Simple web interface for domain management
  • Enable/disable domains without removing them
  • Automatic SSL certificate generation and installation
  • Import existing host entries
  • HTTPS proxies for local development

Requirements

  • Node.js 14 or newer
  • OpenSSL installed and available in PATH
  • Administrator/sudo privileges (for modifying the hosts file and installing certificates)

Installation

Installing OpenSSL

Before installing Navigrator, make sure OpenSSL is installed on your system:

Windows:

  1. Download the installer from https://slproweb.com/products/Win32OpenSSL.html
  2. Run the installer and select "Copy OpenSSL DLLs to Windows system directory"
  3. Restart your terminal/command prompt

macOS:

# Using Homebrew
brew install openssl

Linux:

# Debian/Ubuntu
sudo apt-get install openssl

# Fedora/RHEL
sudo dnf install openssl

Installing Navigrator

You can install Navigrator globally using npm:

npm install -g @axlotl-lab/navigrator

Usage

Project-based Development

For development teams who want zero-friction setup, Navigrator now supports project-based configuration:

1. Add configuration to your project

Create a navigrator.config.json in your project root:

Single domain:

{
  "domain": "myapp.local",
  "port": 3000
}

Multiple domains:

{
  "domains": [
    { "domain": "frontend.local", "port": 3000 },
    { "domain": "api.local", "port": 8000 },
    { "domain": "admin.local", "port": 9000 }
  ]
}

2. Configure your npm scripts

Update your package.json:

{
  "scripts": {
    "dev": "navigrator dev next dev"
  }
}

3. One-time setup per project

Each developer runs this once per project (requires admin privileges):

# On Windows (run Command Prompt or PowerShell as Administrator)
navigrator config

# On macOS/Linux
sudo navigrator config

This will:

  • Generate and install the root CA certificate if needed
  • Add the domain to the hosts file
  • Create SSL certificates for the project

4. Daily development

Now any developer can just run:

npm run dev

This will:

  • Start your development server (e.g., next dev)
  • Automatically proxy HTTPS traffic from your configured domains to their respective localhost ports
  • Handle SSL certificates transparently for all domains

Team Benefits

  • One-time setup: Only sudo navigrator config once per project per developer
  • Zero friction: Daily development is just npm run dev
  • Version controlled: navigrator.config.json is committed to the repo
  • Works everywhere: New team members get the same setup automatically

Standalone Usage

For individual domain management, you can still use Navigrator in standalone mode:

# Start the web interface with administrator privileges
# On Windows (run Command Prompt or PowerShell as Administrator)
navigrator start

# On macOS/Linux
sudo navigrator start

This provides the full web interface for managing domains and certificates manually.

Options

# Start on a different port
navigrator start --port 4000

Command Line Interface

Project-based Commands

# Configure project from navigrator.config.json (requires admin privileges)
navigrator config

# Start development command with automatic proxy
navigrator dev <command>

# Examples:
navigrator dev next dev
navigrator dev npm run serve
navigrator dev python -m http.server 8000

Individual Domain Management

# Start the web interface (with automatic CA handling)
navigrator start

# List all local domains
navigrator list

# Add a new domain
navigrator add myapp.local

# Add a domain with a specific IP
navigrator add myapp.local --ip 127.0.0.2

# Remove a domain
navigrator remove myapp.local

# Reinstall the CA certificate (if needed)
navigrator install-ca

Web Interface

The web interface provides a user-friendly way to manage your local domains:

  • Domains Tab: Manage all your local domains

    • Add new domains
    • Enable/disable existing domains
    • Import existing domains from hosts file
    • Remove domains when no longer needed
    • View certificate status for each domain
  • Certificates Tab: Manage SSL certificates

    • View all generated certificates
    • Check certificate status and expiration dates
    • Refresh certificates
    • Delete individual certificates
  • Proxies Tab: Set up HTTPS proxies

    • Create proxies to forward HTTPS traffic to your local development servers
    • Start/stop proxies as needed
    • Edit proxy configurations

How It Works

Navigrator manages entries in your system's hosts file and generates SSL certificates for local development. It uses:

  • Node.js for the backend server
  • React for the web interface
  • OpenSSL for certificate generation
  • A local Certificate Authority (CA) for signing certificates

When you first run Navigrator, it creates a local Certificate Authority (CA) in your home directory and installs it in your system's trust store. This CA is used to sign certificates for your local domains, making them trusted by your browser.

Certificate Trust

The certificate installation happens automatically when you run navigrator start. If you need to reinstall the CA certificate (for example, on a new computer or browser), you can use:

# On Windows (run as Administrator)
navigrator install-ca

# On macOS/Linux
sudo navigrator install-ca

Note for Firefox users: Firefox uses its own certificate store. Navigrator will detect Firefox and provide instructions for manually importing the CA certificate.

Certificate Location

The root CA certificate is stored at:

~/.navigrator/certs/ca/rootCA.crt

Individual domain certificates are stored in:

~/.navigrator/certs/

Troubleshooting

Permission Issues

If you see errors related to permission denied:

  • Make sure you're running Navigrator with administrator privileges
  • On macOS/Linux, use sudo navigrator start
  • On Windows, run Command Prompt or PowerShell as Administrator

OpenSSL Not Found

If you get an error about OpenSSL not being installed:

  1. Install OpenSSL following the instructions in the Installation section
  2. Make sure OpenSSL is available in your PATH
  3. Try running openssl version in your terminal to verify it's working

Certificate Not Trusted

If your browser shows certificate warnings:

  1. Run navigrator install-ca with administrator privileges
  2. Restart your browser after installing the CA certificate
  3. If using Chrome, you might need to visit chrome://restart after installing the CA
  4. For Firefox, you need to manually import the certificate as described in the instructions provided by the tool

Publishing New Versions

  1. Update the version in package.json:

    "version": "1.0.1",
  2. Test the package locally before publishing:

    # Create a local package
    npm pack
       
    # Install the package globally to test it
    npm install -g ./axlotl-lab-navigrator-1.0.0.tgz
       
    # Test that it works properly
    navigrator start
  3. Create a git tag for the new version:

    git tag v1.0.1
  4. Push the tag to the repository:

    git push origin v1.0.1
  5. Publish to npm:

    npm publish

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

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

Acknowledgments


Developed with ❤️ by Axlotl Lab