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 🙏

© 2024 – Pkg Stats / Ryan Hefner

tafs-cli

v1.0.0

Published

A command line tool for selecting the automation framework.

Downloads

2

Readme


Platforms

JavaScript, nodejs


Table of Contents:

  1. Introduction
  2. Key Features
  3. Project Structure
  4. Prerequisites
  5. Dependencies
  6. Installation
  7. Usage
  8. License

Introduction

tafs-cli (Test Automation Framework Selection Command Line Interface) is a simple and intuitive tool for choosing and setting up your preferred automation framework for your projects. Whether you're working with Selenium or planning to explore Appium or API testing in the future, TAFS CLI has got you covered.


Key Features

  • Framework Selection: Choose between Selenium, Appium (coming soon), and API testing (coming soon) for your automation needs.
  • Language Support: Select your preferred programming language for automation, currently supporting JavaScript and Java.
  • Quick Setup: TAFS CLI automates the setup process, including repository cloning and project initialization.
  • Customizable: Easily extendable to support additional frameworks and languages in the future.

Project Structure

The project structure for TAFS CLI is as follows:

.
├── bin
│   └── index.js
├── package-lock.json
├── package.json
└── src
    ├── app.js
    ├── cloneRepos.js
    └── userPrompts.js
  • bin: This directory holds the executable script(s) for the project. The index.js file serves as the entry point for running the application.

  • src: This directory contains the source code of the project.

    • app.js: The main application logic resides in this file. It orchestrates the execution flow and integrates various modules.

    • cloneRepos.js: This file contains the functionality responsible for cloning repositories from remote sources. It encapsulates the logic for fetching and replicating repositories.

    • userPrompts.js: This file handles user input prompts and interactions. It ensures a smooth user experience by providing prompts for required information and guiding the user through the process.

  • package-lock: This file defines metadata about the project and lists dependencies required for its execution.

  • package-lock.json: This file is automatically generated and used to lock down the versions of dependencies installed. It ensures that the same versions of dependencies are installed across different environments, providing consistency in the project's execution.


Prerequisites

Before using taf-cli, you need to ensure the following prerequisites are met:

  • node.js : Install Node.js, a JavaScript runtime environment.

  • npm : Install npm, a package manager for Node.js.

  • git : Install git, a version control system.

  • Integrated Development Environment (IDE) : Install Visual Studio Code, an integrated development environment.


Dependencies

This project requires the following packages as dependencies:

  • inquirer : A command line interface for selecting automation frameworks and languages.

  • simple-git : A command line interface for cloning repositories.

  • shelljs : A command line interface for executing shell commands.

  • ora : A command line interface for displaying loading indicators.

  • chalk : A command line interface for displaying colored text.

  • figlet : A command line interface for displaying ASCII art text.

  • boxen : A command line interface for displaying ASCII art text.

Note: The dependencies listed above will be installed automatically when you run npm install in the root directory of the project.


Installation

tafs-cli can be installed globally using npm.

  • Run the following command:
npm install -g tafs-cli

To use tafs-cli using npx.

  • Run the following command:
npx tafs-cli

Usage

To start using tafs-cli, simply run the below command from anywhere in your system.

tafs-cli

License

This project is licensed under the GPL License. See the LICENSE file for details.