ltio
v0.0.1
Published
Effortless HTTPS tunnel for development with automatic domain provisioning.
Downloads
7
Maintainers
Readme
localtest.io — Effortless HTTPS Tunnel for Development
Localtest.io gives you an instant public HTTPS domain for your local app — perfect for testing webhooks, CORS, and external integrations without any manual setup. It forwards requests through the localtest.io relay to your running local service, so you can share or test endpoints as if they were deployed online.
Usage
Localtest can be run from the CLI or imported as a module. It automatically registers your domain and stores credentials for future use.
CLI Example
localtest myapp:localtest.io https://localhost:3000The first time you run this, it creates a .localtest.io.env file in your project folder.
This file contains your assigned domain and token so reconnects are instant the next time you start the tunnel.
ES6 Module
import { localtest } from 'localtest.io';
await localtest('myapp', 'https://localhost:3000');CommonJS (require)
const { localtest } = require('localtest.io');
localtest('myapp', 'http://localhost:3000');When NODE_ENV=production is set, Localtest automatically skips itself — no extra checks needed in your code.
localtest.io: a plug-and-play HTTPS tunnel — zero configuration, unlimited domains, automatic credential handling, and production-safe by design.
