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

@nihan-vp/dev-auto

v1.0.4

Published

Lightweight browser automation tool developed by Nihan Ali VP, (for QA testing)

Readme

@nihan-vp/dev-auto

npm version License: MIT

A lightweight, developer-focused browser automation framework developed by Nihan Ali VP, built using Chrome DevTools Protocol (CDP).

Designed for QA testing, automation workflows, and browser interaction on applications you own or have permission to test.

🚀 Overview

dev-auto is a custom-built automation engine that allows developers to:

  • Control Chromium-based browsers
  • Automate user interactions
  • Test web applications
  • Simulate multiple user sessions
  • Build automation flows programmatically

It is a minimal yet powerful foundation for building advanced automation tools, testing frameworks, and browser agents.

⚠️ Usage Policy

This tool is intended strictly for:

  • QA testing
  • Automation of your own applications
  • Development and learning purposes

Do NOT use for:

  • Artificial traffic generation
  • Platform manipulation
  • Unauthorized automation

📦 Installation

npm install @nihan-vp/dev-auto

🧠 Basic Usage

const { chromium } = require("@nihan-vp/dev-auto");

(async () => {
  const browser = await chromium.launch({ headless: false });

  const context = await browser.newContext();
  const page = await context.newPage();

  await page.goto("https://example.com");
  await page.click("text=More information");

  await page.waitForTimeout(3000);

  await context.close();
  await browser.close();
})();

🔁 Multi-User Simulation (Testing Only)

const { chromium } = require("@nihan-vp/dev-auto");

(async () => {
  const browser = await chromium.launch({ headless: true });

  for (let i = 1; i <= 5; i++) {
    const context = await browser.newContext();
    const page = await context.newPage();

    const email = `user${Date.now()}${i}@test.com`;

    await page.goto("https://your-app.com");
    await page.click("text=Sign Up");
    await page.fill("#email", email);

    await context.close();
  }

  await browser.close();
})();

🧩 Core API

Browser

const browser = await chromium.launch(options);

Options:

  • headless (boolean): Run browser in headless mode (default: false)
  • executablePath (string): Custom browser executable path
  • userDataDir (string): Profile directory for persistent sessions
  • slowMo (number): Delay in milliseconds between actions

Context

const context = await browser.newContext();

Creates an isolated session with:

  • Separate cookies
  • Separate storage
  • Independent user session

Page

const page = await context.newPage();

🔧 Supported Methods

Navigation

  • await page.goto(url): Navigate to a URL
  • await page.reload(): Reload the current page

Interaction

  • await page.click(selector): Click an element (supports text= for text-based selection)
  • await page.fill(selector, value): Fill an input field
  • await page.press(key): Press a key (e.g., "Enter")

Evaluation

  • await page.evaluate(script): Execute JavaScript in the page context

Timing

  • await page.waitForTimeout(ms): Wait for a specified time

Screenshot

  • await page.screenshot({ path: "file.png" }): Take a screenshot

⚙️ How It Works

dev-auto is built using:

  • Chrome DevTools Protocol (CDP)
  • WebSocket communication
  • Node.js process control

Architecture:

Your Code
   ↓
dev-auto API
   ↓
Chrome DevTools Protocol
   ↓
Chromium Browser

🧪 Use Cases

  • Web app QA testing
  • Form automation
  • UI validation
  • Automation pipelines
  • Personal automation tools
  • Learning browser internals
  • Building custom testing frameworks

🔮 Roadmap

Planned features:

  • waitForSelector
  • Better selector engine
  • Real context isolation
  • Recorder (record user actions)
  • CLI tool (npx dev-auto)
  • TypeScript support
  • Headless performance improvements
  • Parallel execution
  • Visual Automation Studio (GUI)

📄 License

This project is licensed under the MIT License.

🤝 Contributing

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

👤 Author

Nihan Ali VP - Full-Stack Developer, IoT Innovator, and Creative Technologist from India.

📄 License

MIT License

⭐ Support

If you like this project:

Star the repo Share with developers Contribute ideas 📬 Contact

GitHub: https://github.com/nihan-vp

Portfolio: https://nihan-vp.me

⚡ Final Note

This is an early-stage automation framework built for learning and evolution.

Future goal: → Build a full Playwright-level system → Add UI automation studio → Create AI-powered browser agents