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 🙏

© 2025 – Pkg Stats / Ryan Hefner

cjp-automation

v1.0.52

Published

README Documentation: Setting Up and Running Automation Tests This guide provides a detailed process for setting up your project and running automation tests using cjp-automation.

Downloads

108

Readme

CJP Automation Framework

README Documentation: Setting Up and Running Automation Tests This guide provides a detailed process for setting up your project and running automation tests using cjp-automation.

Description

This automation framework is built using Behavior-Driven Development (BDD) principles with Node.js, making it intuitive and collaborative for developers and testers. It supports testing across multiple platforms:

REST APIs: Automate API testing efficiently with comprehensive features. Mobile Applications: Conduct mobile app automation with seamless integration. Web Applications: Perform end-to-end testing of web applications.

Prerequisites

Before starting, ensure the following are installed on your computer:

Node.js: Download and install from Node.js official website. Visual Studio Code (VS Code): Download and install from VS Code official website.

Setup Instructions

  1. Project Initialization Create a new folder for your project and give it a suitable name. Open VS Code and load the created project folder. Open the integrated terminal in VS Code (Ctrl + or from the top menu:Terminal > New Terminal`).

  2. Initialize a Node.js Project In the terminal, run the following command:

npm init

Follow the prompts: Package name: Enter the project name (or press Enter to use the default). Version: Press Enter to accept the default (1.0.0). Description: Provide a brief project description (or press Enter to skip). Entry point: Press Enter to accept the default (index.js). Test command: Press Enter to skip. Git repository: Press Enter to skip. Keywords: Press Enter to skip. Author: Enter your name (or press Enter to skip). License: Press Enter to accept the default (ISC). When prompted, confirm by typing yes.

  1. Install Dependencies Run the following command in the terminal to install the cjp-automation package:

npm i cjp-automation

Project Configuration

Open the package.json file in your project directory. Locate the "scripts" section and replace it with the following:

"scripts": { "Test": "cucumber-js Features/Test.feature -f json:./Report/Report.json", "report": "node Report.js", "report_2": "node Report_Junit.js" }

Running Tests and Generating Reports

  1. Run the Test Script Execute the following command in the terminal:

npm run Test

  1. Generate Reports To create a test report, run:

npm run report

Notes

Replace Features/Test.feature with the path to your feature file if it differs. Ensure your test scripts and report generation scripts (Report.js and Report_Junit.js) are correctly implemented.