Node.js virtual environment builder for creating isolated Node.js environments
80
{
"context": "This criteria evaluates how well the engineer uses the nodeenv package's network resilience features, specifically its support for custom mirrors, SSL certificate handling, version management, and requirements file processing. The evaluation focuses on proper usage of nodeenv's command-line options and programmatic API to handle unreliable network conditions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Nodeenv import",
"description": "Correctly imports nodeenv module or uses subprocess to call nodeenv command-line tool",
"max_score": 10
},
{
"name": "Environment creation",
"description": "Uses nodeenv's create_environment() function or equivalent command-line invocation to create the Node.js virtual environment in the specified directory",
"max_score": 20
},
{
"name": "Node version specification",
"description": "Properly passes Node.js version to nodeenv using the --node or -n option (or node parameter in create_environment()), supporting 'latest', 'lts', or specific versions",
"max_score": 15
},
{
"name": "Mirror configuration",
"description": "Correctly implements custom mirror support using the --mirror option (or mirror parameter) to allow alternative download sources",
"max_score": 20
},
{
"name": "SSL certificate bypass",
"description": "Properly implements SSL certificate verification bypass using the --ignore_ssl_certs option (or ignore_ssl_certs parameter) when the ignore-ssl flag is set",
"max_score": 20
},
{
"name": "Requirements file processing",
"description": "Correctly installs npm packages from requirements file using the --requirements or -r option (or by calling install_packages() function), ensuring packages are installed after environment creation",
"max_score": 15
}
]
}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