2.0.0 • Published 2 years ago

normalize-registry-url v2.0.0

Weekly downloads
7,466
License
MIT
Repository
github
Last release
2 years ago

normalize-registry-url

Build Status

Normalizes a npm registry URL

Installation

npm i normalize-registry-url

Usage

const normalizeRegistrUrl = require('normalize-registry-url')

const registry = normalizeRegistrUrl('https://registry.npmjs.org')

console.log(registry)
// 'https://registry.npmjs.org/'

License

MIT © Zoltan Kochan