* feat: allow customnpm and github endpoints
Allow specifying of custom endpoints for NPM
and Github. This is to allow usage in a
self-hosted enterprise environment.
These are configured by an override environment variable.
`NPM_URL="https://registry.npm.compnay.com"` - NPM
`GITHUB_URL="https://github.company.com/api/v3"` - Github v3
`GITHUB_URL_GRAPHQL="https://github.company.com/api/graphql" - Github
Graphql
* feat(npm): support all pkg data through npm reg
- Add option to disable use of unpkg for npm "info"
- Add ability to query scoped packages and tags through npm
- Update env var names
Note, this keeps existing logic unless DISABLE_UNPKG == true
* fix(npm): fix if logic, remove elses
* fix: address review comments
- Address review comments
- Query NPM with abbreviated metadata header support
- Support GITHUB_TOKENS
- Environment variable info in readme
- Only skip unpkg use if a custom registry is used.