@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
28 lines (17 loc) • 525 B
Markdown
[](https://travis-ci.org/pnpm/encode-registry "See test builds")
> Encodes a registry URL. [Memoized](https://en.wikipedia.org/wiki/Memoization).
```
<pnpm|yarn|npm> add encode-registry
```
```js
const encodeRegistry = require('encode-registry')
encodeRegistry('https://registry.npmjs.org/')
//> registry.npmjs.org
encodeRegistry('https://localhost:4873/')
//> localhost+4873
```
[](LICENSE)