@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
26 lines (17 loc) • 467 B
Markdown
> Accepts a mapping of registry URLs and returns a mapping with the same URLs but normalized
```
pnpm add @pnpm/normalize-registries
```
```typescript
import normalizeRegistries from '@pnpm/normalize-registries'
normalizeRegistries({
'default': 'https://registry.npmjs.org',
'@foo': 'https://example.com',
})
// will return the same object but the URLs will end with a /
```
[](LICENSE)