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

sdk_automation

v1.0.30

Published

SDK for QA-Portfolio project

Readme

SDK Automation

npm version License Build npm downloads GitHub Repo stars

SDK Automation is a public npm package created for the QA Portfolio demo project.
It provides utilities, services, and helpers for automated testing, logging, data handling, and test data generation.


🚀 Installation

Install via npm:

npm install sdk_automation

💡 Quick Start


import { logger, UserService } from 'sdk_automation';

// Logging example
logger.log('Hello from SDK Automation!');

// Working with UserService
const userService = new UserService();
const users = await userService.getAllUsers();
console.log(users);

🗂 Package Structure

  • utils/ — general utilities like logger, test data generator, and assets tracker
  • services/ — services for database interaction and business logic
  • constants/ — selectors, URLs, and other constants
  • interfaces/ — TypeScript interfaces and types
  • config/ — environment configuration

✨ Features

  • Logger — simple logger with color output
  • UserService — service for user-related operations
  • MongoService — MongoDB connection and data operations
  • TestDataGenerator — generate random test data
  • AssetsTracker — track changes in project resources

🧪 Example Usage with Playwright

import { logger, testDataGenerator } from 'sdk_automation';
import { test } from '@playwright/test';

test('example test', async ({ page }) => {
  logger.log('Starting test');

  const testUser = testDataGenerator.generateUser();
  await page.fill('#username', testUser.username);
  await page.fill('#password', testUser.password);

  logger.log('Test completed successfully');
});

⚙️ CI/CD Workflows

This project has two GitHub Actions workflows to ensure code quality and automate package publishing:


1️⃣ Pull Request Workflow

  • Trigger: Runs on pull_request events targeting the main branch (opened, synchronize, reopened).
  • Purpose: Executes a full CI workflow for every PR before merge.

Jobs:

  • 🚀 pr-checkmate A set of automated checks for Pull Requests

    • ESLint checks
    • Dependency change detection
    • Prettier auto-formatting
    • Spellcheck (cspell)
  • ✅ pr-validation

    • Checks PR size (number of files and lines changed)
    • Generates PR metrics summary for quick review
  • 📝 update-changelog

    • Automatically updates CHANGELOG.md based on conventional commits
    • Determines semantic version bump (patch/minor/major) according to commit types
  • 🤖 auto-merge

    • Automatically merges the PR once all checks pass and changelog is updated

pr-pipelne

⚠️ This workflow does not publish the package, it only ensures PRs are safe and code quality is maintained.


2️⃣ Publish Workflow

Runs automatically if the Pull Request Workflow was successful

  • Trigger: on: push to main branch
  • Purpose: build and publish the SDK package to npm
  • Jobs:
    • Checkout repository
    • Setup Node.js with npm registry
    • Cache node modules
    • Install dependencies
    • Build package
    • Publish to npm

⚠️ This workflow ensures that only code merged to main and passing all checks gets published.

📖 Documentation

Full documentation for each utility and service can be found in the dist folder or by exploring the TypeScript types.

💬 Contributing

This package is maintained for the QA Portfolio demo project.
Found a bug or have a feature request? Open an issue or submit a pull request.

💫 If you like this project, please consider giving it a star!
It helps others find it and keeps me motivated