@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
27 lines (16 loc) • 532 B
Markdown
[](https://travis-ci.org/pnpm/normalize-registry-url)
> Normalizes a npm registry URL
```
pnpm add normalize-registry-url
```
```js
const normalizeRegistrUrl = require('normalize-registry-url')
const registry = normalizeRegistrUrl('https://registry.npmjs.org')
console.log(registry)
// 'https://registry.npmjs.org/'
```
[](LICENSE) © [Zoltan Kochan](https://www.kochan.io)