nvmrc-checker
v1.0.0
Published
Check if .nvmrc exists in a directory or its subdirectories
Downloads
7
Readme
nvmrc-checker
A command-line tool to check for the existence of an .nvmrc file in a specified directory or its subdirectories.
Installation
npm install -g nvmrc-checkerUsage
nvmrc-checker <directory>Replace <directory> with the path to the directory you want to check.
Examples
Check the current directory:
nvmrc-checker .Check a specific directory:
nvmrc-checker /path/to/your/projectExit Codes
0: An.nvmrcfile was found1: No.nvmrcfile was found
Why use nvmrc-checker?
The .nvmrc file is used by Node Version Manager (nvm) to automatically switch to the correct Node.js version for a project. This tool helps you quickly verify if a project has this file set up, which is useful for maintaining consistent Node.js versions across development environments.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
