Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configure cross-env for cross-platform environment variable setting in npm scripts and CLI commands.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-14 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-01 | ✗→✗ | = Same ✗ | -37% | 0% |
| case-02 | ✗→✗ | = Same ✗ | -34% | 0% |
| case-03 | ✗→✗ | = Same ✗ | -40% | 0% |
Configure cross-env for cross-platform environment variables.
json{ "scripts": { "dev": "cross-env NODE_ENV=development tsx watch src/index.ts", "build": "cross-env NODE_ENV=production tsc", "test": "cross-env NODE_ENV=test vitest", "start:prod": "cross-env NODE_ENV=production node dist/index.js" }, "devDependencies": { "cross-env": "^7.0.3" } }
Other measured skills in the registry, with their headline benchmark lift.