Node.js virtual environment builder for creating isolated Node.js environments
80
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
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