tessl install tessl/pypi-nodeenv@1.9.0Node.js virtual environment builder for creating isolated Node.js environments
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.25x
Baseline
Agent success rate without this tile
64%
A command-line utility that creates Node.js virtual environments using custom download mirrors for organizations with restricted internet access or internal mirrors.
@generates
def setup_environment(env_dir: str, mirror_url: str = None, config_file: str = None) -> bool:
"""
Creates a Node.js virtual environment using a custom mirror.
Args:
env_dir: Directory path where the environment will be created
mirror_url: Custom mirror URL for downloading Node.js (optional)
config_file: Path to configuration file containing mirror settings (optional)
Returns:
bool: True if environment was created successfully, False otherwise
"""
pass
def validate_mirror_url(mirror_url: str) -> bool:
"""
Validates that a mirror URL is properly formatted.
Args:
mirror_url: The mirror URL to validate
Returns:
bool: True if URL is valid, False otherwise
"""
passProvides Node.js virtual environment creation with mirror support.