[api] Make all configuration in `npm-manager` optional.