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