├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── support.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .markdownlint.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── assets └── logo.svg ├── bin ├── dev │ └── release └── n ├── docs ├── changing-node-location.md └── proxy-server.md ├── package.json └── test ├── bin └── run-all-tests ├── docker-base.yml ├── docker-compose.yml ├── dockerfiles ├── Dockerfile-fedora-curl ├── Dockerfile-ubuntu-curl └── Dockerfile-ubuntu-wget ├── tests.md └── tests ├── install-contents.bats ├── install-options.bats ├── install-versions.bats ├── lookup.bats ├── ls.bats ├── lsr.bats ├── offline.bats ├── run-which.bats ├── shared-functions.bash ├── uninstall.bats ├── version-auto-priority.bats ├── version-resolve-auto-engine.bats ├── version-resolve-auto-file.bats ├── version-resolve-auto-nvmrc.bats └── version-resolve.bats /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [tj, shadowspawn] 2 | tidelift: npm/n 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/.github/ISSUE_TEMPLATE/support.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | test/proxy~~.dump 4 | -------------------------------------------------------------------------------- /.markdownlint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/.markdownlint.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/SECURITY.md -------------------------------------------------------------------------------- /assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/assets/logo.svg -------------------------------------------------------------------------------- /bin/dev/release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/bin/dev/release -------------------------------------------------------------------------------- /bin/n: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/bin/n -------------------------------------------------------------------------------- /docs/changing-node-location.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/docs/changing-node-location.md -------------------------------------------------------------------------------- /docs/proxy-server.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/docs/proxy-server.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/package.json -------------------------------------------------------------------------------- /test/bin/run-all-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/bin/run-all-tests -------------------------------------------------------------------------------- /test/docker-base.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/docker-base.yml -------------------------------------------------------------------------------- /test/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/docker-compose.yml -------------------------------------------------------------------------------- /test/dockerfiles/Dockerfile-fedora-curl: -------------------------------------------------------------------------------- 1 | FROM fedora:latest 2 | 3 | CMD ["/bin/bash"] 4 | -------------------------------------------------------------------------------- /test/dockerfiles/Dockerfile-ubuntu-curl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/dockerfiles/Dockerfile-ubuntu-curl -------------------------------------------------------------------------------- /test/dockerfiles/Dockerfile-ubuntu-wget: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/dockerfiles/Dockerfile-ubuntu-wget -------------------------------------------------------------------------------- /test/tests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests.md -------------------------------------------------------------------------------- /test/tests/install-contents.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/install-contents.bats -------------------------------------------------------------------------------- /test/tests/install-options.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/install-options.bats -------------------------------------------------------------------------------- /test/tests/install-versions.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/install-versions.bats -------------------------------------------------------------------------------- /test/tests/lookup.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/lookup.bats -------------------------------------------------------------------------------- /test/tests/ls.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/ls.bats -------------------------------------------------------------------------------- /test/tests/lsr.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/lsr.bats -------------------------------------------------------------------------------- /test/tests/offline.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/offline.bats -------------------------------------------------------------------------------- /test/tests/run-which.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/run-which.bats -------------------------------------------------------------------------------- /test/tests/shared-functions.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/shared-functions.bash -------------------------------------------------------------------------------- /test/tests/uninstall.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/uninstall.bats -------------------------------------------------------------------------------- /test/tests/version-auto-priority.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/version-auto-priority.bats -------------------------------------------------------------------------------- /test/tests/version-resolve-auto-engine.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/version-resolve-auto-engine.bats -------------------------------------------------------------------------------- /test/tests/version-resolve-auto-file.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/version-resolve-auto-file.bats -------------------------------------------------------------------------------- /test/tests/version-resolve-auto-nvmrc.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/version-resolve-auto-nvmrc.bats -------------------------------------------------------------------------------- /test/tests/version-resolve.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj/n/HEAD/test/tests/version-resolve.bats --------------------------------------------------------------------------------