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 tool that creates an isolated Node.js environment from source code with custom compilation options.
Compiles Node.js from source code with configurable build options for Unix-based systems.
Manages parallel build processes to optimize compilation time.
@generates
def create_node_environment(env_dir, node_version, prebuilt=True, without_ssl=False, debug=False, profile=False, jobs=2, make_path='make'):
"""
Creates a Node.js virtual environment.
Args:
env_dir: Target directory for the environment
node_version: Node.js version to install
prebuilt: If True, uses prebuilt binaries; if False, compiles from source
without_ssl: Build without SSL support (source only)
debug: Build with debugging symbols (source only)
profile: Enable profiling support (source only)
jobs: Number of parallel make jobs (source only, default: 2)
make_path: Path to make command (default: 'make')
Returns:
Path to created environment
"""
passProvides Node.js virtual environment creation with source compilation support.
@satisfied-by