nva-server is a frontend project development server that serves static content with features like asset serving, mock API configs, CORS support, and URL rewrites. It offers a command-line interface with options for port, host, content path, asset path, mock file, browser opening, and logging. Designed for development workflows, it integrates with the nva ecosystem. The package appears to have low maintenance based on sporadic releases, with the latest versions indicating ongoing but infrequent updates. It serves as an alternative to tools like http-server or serve with additional development-specific features.
npm install nva-serverVerified import paths — ran on the pinned version, not inferred.
Install the package, set environment variable for port, then run the CLI to serve ./public with CORS and logging enabled.
Use import syntax or upgrade to supported versions.
Refer to latest docs for configuration file approach.
Use full option names like --port, --content to ensure compatibility across versions.
Provide absolute path or ensure relative path is correct from CWD.
Run 'npm install nva-server --save' (note hyphen, not underscore).
Add 'type':'module' to package.json, or use require if version <1.0.59.
Install globally: npm install -g nva-server, or use npx nva-server.
Use --port instead of -p.
No dependency data recorded yet.