JSPM

incognito-dev

1.2.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 7
    • Score
      100M100P100Q30494F
    • License MIT

    Run your dev server and open localhost in Chrome Incognito mode automatically.

    Package Exports

      This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (incognito-dev) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

      Readme

      🕶️ incognito-dev

      A lightweight CLI tool that automatically runs your dev server and opens localhost in Google Chrome Incognito mode.


      🚀 Installation

      npm install -g incognito-dev
      # or use without install
      npx incognito-dev

      💡 Usage

      Just run:

      incognito-dev

      The tool will automatically:

      1. Detect your package manager (npm, yarn, or pnpm)
      2. Run the appropriate dev command (npm run dev, etc.)
      3. Find an available port (e.g., localhost:3000, localhost:3001)
      4. Launch Google Chrome in incognito mode with the local server URL

      ✅ Example Output

          ____                             _ __           _____ __             __ 
         /  _/___  _________  ____ _____  (_) /_____     / ___// /_____ ______/ /_
         / // __ \/ ___/ __ \/ __ `/ __ \/ / __/ __ \    \__ \/ __/ __ `/ ___/ __/
       _/ // / / / /__/ /_/ / /_/ / / / / / /_/ /_/ /   ___/ / /_/ /_/ / /  / /_  
      /___/_/ /_/\___/\____/\__, /_/ /_/_/\__/\____/   /____/\__/\__,_/_/   \__/  
                           /____/
      
         ╔ 🚀 Launch Summary ════════════════════════════╗
         ║                                               ║
         ║   🕶️  Incognito Dev Mode                      ║
         ║                                               ║
         ║   ✔ Dev Server: npm → http://localhost:3000   ║
         ║   ✔ Browser: Google Chrome (Incognito Mode)   ║
         ║                                               ║
         ╚═══════════════════════════════════════════════╝

      ✨ Features

      • Automatic port detection via detect-port
      • Supports all major package managers: npm, yarn, pnpm
      • Opens Chrome incognito mode — no history, no login
      • Great for testing login pages or clean sessions
      • Stylized terminal output with chalk, figlet, and boxen

      📦 Requirements

      • A dev script must exist in your package.json:
      "scripts": {
        "dev": "vite"
      }

      📄 License

      MIT


      👨‍💻 Author

      Made with 💻 by @clicelee