Node.js virtual environment builder for creating isolated Node.js environments
80
Build a command-line tool that helps developers check available Node.js versions and inspect environment configuration before creating Node.js virtual environments.
--lts-only flag, the tool displays only Long Term Support (LTS) versions @test--show-defaults flag, the tool displays the default configuration settings that would be used @test--verbose flag, the tool displays detailed progress information during version fetching @test--quiet flag, the tool suppresses all non-essential output and only displays results @test@generates
"""
Command-line tool for checking Node.js versions and configuration.
Uses nodeenv's internal APIs to provide version and configuration information.
"""
def list_versions(lts_only=False, verbose=False, quiet=False):
"""
List available Node.js versions.
Args:
lts_only: If True, filter to show only LTS versions
verbose: If True, show detailed progress information
quiet: If True, suppress non-essential output
Returns:
List of version strings
"""
pass
def show_default_config():
"""
Display the default configuration settings.
Returns:
Dictionary of default configuration values
"""
pass
def main():
"""
Main entry point for the CLI tool.
Parses command-line arguments and executes appropriate commands.
"""
pass
if __name__ == '__main__':
main()Provides Node.js virtual environment management functionality, including version listing and configuration APIs.
Install with Tessl CLI
npx tessl i tessl/pypi-nodeenvdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10