Socket
Book a DemoInstallSign in
Socket

rewrite-url-follower

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rewrite-url-follower

rewrite the URLs in couchdb from one registry to another

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
2
Created
Source

Rewrite URL Follower

Build Status

npm On-Site and npm-registry-couchapp store package URLs in their database. These URLs represent the full canonical path to package tarballs. If the database ends up with the wrong URL for a package it will become inaccessible.

Situations which can result in an invalid URL:

  • the wrong URL was written to the database
  • the URLs contain the external IP address of the registry and the IP has changed
  • the URLs contain the external domain name of the registry and the domain has changed

rewrite-url-follower solves this problem! simply point this tool at your CouchDB database, and it will rewrite the package URL for you.

Usage

rewrite URL to http://10.19.99.196:8080:

rewrite-url-follower rewrite --rewrite=http://10.19.99.196:8080 --host=172.17.0.1 --port=5984

rewrite URL to https://myreg.mydomain.tld:

rewrite-url-follower rewrite --rewrite=https://myreg.mydomain.tld --host=172.17.0.1 --port=5984

get help:

rewrite-url-follower --help
rewrite-url-follower rewrite --help

License

ISC

Keywords

follower

FAQs

Package last updated on 04 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts