.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / registry-auth-token / registry-url.js
1 module.exports = function (scope, npmrc) {
2   var rc = npmrc || require('rc')('npm', {registry: 'https://registry.npmjs.org/'})
3   var url = rc[scope + ':registry'] || rc.registry
4   return url.slice(-1) === '/' ? url : url + '/'
5 }