Skip to content

huseyinstif/DevBuildChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Build Checker

This script checks if a given website or source code directory is in development mode. It detects development-specific code in websites or checks the NODE_ENV variable in source code directories.

Usage

Website Mode

To check if a website is in development mode, use the --type website parameter followed by the URL of the website.

Example:

node  index.js  --type  website  https://example.com

To get detailed output, add the --verbose parameter:

node  index.js  --type  website  https://example.com  --verbose

Website

Source Code Mode

To check if a source code directory is in development mode, use the --type sourcecode parameter followed by the path to the directory.

Example:

node  index.js  --type  sourcecode  /path/to/source/code

To get detailed output, add the --verbose parameter:

node  index.js  --type  sourcecode  /path/to/source/code  --verbose

SourceCode

Output

The script will output whether a development build is detected or not. In verbose mode, it will provide additional details about the checks performed.

Requirements

  • Node.js

  • Puppeteer

  • File system module

Installation

  1. Clone the repository.

  2. Navigate to the project directory.

  3. Install the necessary dependencies using npm:

npm  install  puppeteer

Contact

For any inquiries or further information, you can reach out to me through:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors